[issue15451] PATH is not honored in subprocess.Popen in win32

Richard Oudkerk report at bugs.python.org
Thu Jul 26 13:11:57 CEST 2012


Richard Oudkerk <shibturn at gmail.com> added the comment:

I think env is used for specifying the environment used by the  child process once it has started.  env['PATH'] is not used by the parent process to find program to run.

Having said that, maybe if you used "shell=True" as well then the shell would find the program using env['PATH'].

----------
nosy: +sbt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15451>
_______________________________________


More information about the Python-bugs-list mailing list