This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andrey.Morozov
Recipients Andrey.Morozov, tim.golden
Date 2011-12-03.12:34:22
SpamBayes Score 1.7841008e-05
Marked as misclassified No
Message-id <1322915663.01.0.014448777498.issue13524@psf.upfronthosting.co.za>
In-reply-to
Content
it fix my problem:

e = os.environ.copy()
e['PATH_TO_MY_APPS'] = "path/to/my/apps"

p = subprocess.Popen(sys.executable + " test1.py 123", env=e, shell=True, stdout=subprocess.PIPE)

answer: need have copy of environments
History
Date User Action Args
2011-12-03 12:34:23Andrey.Morozovsetrecipients: + Andrey.Morozov, tim.golden
2011-12-03 12:34:23Andrey.Morozovsetmessageid: <1322915663.01.0.014448777498.issue13524@psf.upfronthosting.co.za>
2011-12-03 12:34:22Andrey.Morozovlinkissue13524 messages
2011-12-03 12:34:22Andrey.Morozovcreate