delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/06/29/17:45:54

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=ipY5rXrtzoJf6QJADW+/9urPQ9CrK
/Vw2y1G/w7mvmWid1v2qqTSSy2yvDouJaRvO35tZ/4JMpYyLG4An7XjzvpvGaqYl
MVp3k+0xqZ9dD9nuqV+gdR3wNq0WOXRMAgxz5WPqUmKULfhMXfZYIoMHBc0jGLx2
Eu7fZ1NlZdrAos=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=9TC+8OFWRQk/GLzsRccU8t6MfqI=; b=p8M
XVLOju5+8ZPqqjT7D1xYxb20329LWjDuPHN4tlWPL1m/VF0khfFQfkOKOjkxXhFS
iXN48vfcbSby1zyt1m1mS4RYYkQwqd54kHKtR+Do5UtBshtL6cl7n+HCZcJdcwOf
w4Qx1AwzwZ1t9oB7dmG7h5t1/4WK2B4w5i7lgQrs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_TK,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-la0-f47.google.com
MIME-Version: 1.0
X-Received: by 10.152.21.132 with SMTP id v4mr16137233lae.18.1435614335184; Mon, 29 Jun 2015 14:45:35 -0700 (PDT)
Date: Mon, 29 Jun 2015 14:45:35 -0700
Message-ID: <CAO-z7kzjRBrADMYd1h79=VTdY8ME9jLKrFgg+-SFZvRDWduScw@mail.gmail.com>
Subject: tclsh does not export changes to env to child process
From: Stas Maximov <stas DOT maximov AT gmail DOT com>
To: cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019