This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

tclsh does not export changes to env to child process


Hi,

Tcl shell does not export changes to array variable env:
  http://wiki.tcl.tk/env

Test script: test_env_export1:
--------- begin ----------
set env(FILENAME) filename_val
puts $env(PATH)
puts [exec /bin/bash -c {echo $PATH}]
puts $env(FILENAME)
puts [exec /bin/bash -c {echo $FILENAME}]
--------- end ----------

Expect two lines of output "filename_val", receive only one. The bug
affects 'guitool' feature of git-gui.

cygwin 2.0.4-1
tclsh 8.5


Thanks,
Stas.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]