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 <>
[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 

The output should be /Users/mtebeka/playground/pwd-bug/p
Date User Action Args
2008-10-06 19:28:03tebekasetrecipients: + tebeka
2008-10-06 19:28:03tebekasetmessageid: <>
2008-10-06 19:28:02tebekalinkissue4057 messages
2008-10-06 19:28:01tebekacreate