[issue4057] Popen(..., cwd=...) does not set PWD environment variable
report at bugs.python.org
Thu Nov 26 19:27:45 CET 2009
Geoffrey Bache <gjb1002 at users.sourceforge.net> added the comment:
I can see your point, though I think particularly in this case it's
(unfortunately) fairly common that scripts on POSIX platforms read $PWD
instead of finding the current working directory properly.
I'm probably not the first person that has had to set PWD explicitly in
a python program for this reason. Yes, it's really the fault of the
people who maintain the script I'm calling, but I don't think setting
PWD on POSIX could have any bad effects and should surely be easy to do?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list