Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1eae5dcb01c209e2f728564f99f363f379f77b2aa4a39175c50e1380ab7e19a5
Ticket: b492c33154cda419be5400f0018b5599cca96ae2
Inconsistent behaviour with env array on Windows
User & Date: apnadkarni on 2026-05-06 15:59:34
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    The following inconsistent behavior is seen on Windows. Setting an env variable to the empty string unsets it (as documented) but `info exists` thinks it is still defined.
    
    ```
    % info exists env(TMP)
    1
    % set env(TMP)
    D:\Temp
    % set env(TMP) ""
    % info exists env(TMP)
    1
    % set env(TMP)
    can't read "env(TMP)": no such variable
    ```
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "Inconsistent behaviour with env array on Windows"
  16. type changed to: "Bug"