Message3427
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' |
|
Date |
User |
Action |
Args |
2008-08-12 22:39:48 | leosoto | set | recipients:
+ leosoto |
2008-08-12 22:39:48 | leosoto | set | messageid: <1218580788.15.0.471152688415.issue1104@psf.upfronthosting.co.za> |
2008-08-12 22:39:47 | leosoto | link | issue1104 messages |
2008-08-12 22:39:47 | leosoto | create | |
|