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 tebeka
Recipients tebeka
Date 2008-10-06.19:28:01
SpamBayes Score 0.00326947
Marked as misclassified No
Message-id <1223321283.05.0.79921922605.issue4057@psf.upfronthosting.co.za>
In-reply-to
Content
[21:26] pwd-bug $cat m
#!/usr/bin/env python

from subprocess import Popen
Popen(["./t"], cwd="./p")
[21:26] pwd-bug $cat p/t 
#!/usr/bin/env python

from os import environ
print environ["PWD"]
[21:26] pwd-bug $python m 
/Users/mtebeka/playground/pwd-bug

The output should be /Users/mtebeka/playground/pwd-bug/p
History
Date User Action Args
2008-10-06 19:28:03tebekasetrecipients: + tebeka
2008-10-06 19:28:03tebekasetmessageid: <1223321283.05.0.79921922605.issue4057@psf.upfronthosting.co.za>
2008-10-06 19:28:02tebekalinkissue4057 messages
2008-10-06 19:28:01tebekacreate