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 tim.golden
Recipients Andrey.Morozov, tim.golden
Date 2011-12-03.12:30:05
SpamBayes Score 2.6595671e-07
Marked as misclassified No
Message-id <4EDA1648.1060004@timgolden.me.uk>
In-reply-to <1322914823.87.0.666849629429.issue13524@psf.upfronthosting.co.za>
Content
The environment passed to a Windows process must contain
certain things. (I don't at this moment remember exactly
what). You can't just pass the one thing you're adding.
Change your "e = ..." line to something like:

e = os.environ
e['PATH_TO_MY_CODE'] = '/x/y/z'

and then try the code.

Obviously the subprocess module doesn't have enough
checks in place for this -- it actually segfaults on my
WinXP machine. But can you confirm that this is indeed
your issue?
History
Date User Action Args
2011-12-03 12:30:06tim.goldensetrecipients: + tim.golden, Andrey.Morozov
2011-12-03 12:30:05tim.goldenlinkissue13524 messages
2011-12-03 12:30:05tim.goldencreate