Message3427

Author leosoto
Recipients leosoto
Date 2008-08-12.22:39:47
SpamBayes Score 8.179052e-05
Marked as misclassified No
Message-id <1218580788.15.0.471152688415.issue1104@psf.upfronthosting.co.za>
In-reply-to
Content
When no env is passed as argument to subprocess.Popen, CPython inherits
os.environ. Jython doesn't:

>>> import os
>>> from subprocess import Popen, PIPE
>>> os.environ['FOO'] = "foo"
>>> Popen("echo $FOO", shell=True, stdout=PIPE,stderr=PIPE).stdout.read()
'\n'
History
Date User Action Args
2008-08-12 22:39:48leosotosetrecipients: + leosoto
2008-08-12 22:39:48leosotosetmessageid: <1218580788.15.0.471152688415.issue1104@psf.upfronthosting.co.za>
2008-08-12 22:39:47leosotolinkissue1104 messages
2008-08-12 22:39:47leosotocreate