Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9780fe0bb1ceb90e5b627c1ca9f90d13d0e643b02bdd114cfcb629f19f623515
Ticket: 6235d23a7619cdabe706e09fa77421536c42b3ec
Inconsistent handling of environment variables with [interp create]
User & Date: erikleunissen on 2021-06-19 19:06:02
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When creating a child interpreter, environment variables are handled differently between Linux and Windows. While I find the behaviour under Linux logical, I don't understand the behaviour under Windows, especially the fact that creation of a child interpreter affects the environment variables in the parent interpreter.
    
    The attached file exercise.tcl demonstrates the issue when I run it under the two mentioned OS's. My observations:
    
    > tclsh exercise.tcl
    unix
    1
    0
    0
    0
    
    > tclsh exercise.tcl
    windows
    1
    0
    1
    1
    
  5. foundin changed to: "8.6.11"
  6. is_private changed to: "0"
  7. login: "erikleunissen"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "609f4c7ecf7dbb7a46acdc7eb164753d196088a6"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "erikleunissen"
  14. subsystem changed to: "08. Environment Variables"
  15. title changed to:
    Inconsistent handling of environment variables with [interp create]
    
  16. type changed to: "Bug"