public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* tclsh does not export changes to env to child process
@ 2015-06-29 21:45 Stas Maximov
  2015-06-30  3:28 ` Yaakov Selkowitz
  2015-06-30 16:39 ` Stas Maximov
  0 siblings, 2 replies; 5+ messages in thread
From: Stas Maximov @ 2015-06-29 21:45 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-07-05  2:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-29 21:45 tclsh does not export changes to env to child process Stas Maximov
2015-06-30  3:28 ` Yaakov Selkowitz
2015-06-30 16:39 ` Stas Maximov
2015-06-30 16:43   ` Stas Maximov
2015-07-05  2:55     ` Duncan Roe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).