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 gjb1002
Recipients gjb1002, ronaldoussoren, tebeka
Date 2009-11-27.18:42:42
SpamBayes Score 4.49879e-08
Marked as misclassified No
Message-id <1259347365.04.0.277434807562.issue4057@psf.upfronthosting.co.za>
In-reply-to
Content
You misunderstand: I am not reading $PWD. I need to call a C program as
a subprocess, which is written by a third party and which determines its
current working directory by reading $PWD. os.chdir will not have any
effect on this script, nor will passing "cwd" to "subprocess.call". I
have to write os.environ["PWD"] = os.getcwd() in my code before it will
work.

Not only that, but of course I have to know about $PWD and the fact that
some people use it. Otherwise it just seems like Python isn't correctly
passing on the current working directory.
History
Date User Action Args
2009-11-27 18:42:45gjb1002setrecipients: + gjb1002, ronaldoussoren, tebeka
2009-11-27 18:42:45gjb1002setmessageid: <1259347365.04.0.277434807562.issue4057@psf.upfronthosting.co.za>
2009-11-27 18:42:43gjb1002linkissue4057 messages
2009-11-27 18:42:42gjb1002create