[issue17023] Subprocess does not find executable on Windows if it is PATH with quotes

Tim Golden report at bugs.python.org
Wed Feb 4 19:06:13 CET 2015


Tim Golden added the comment:

Under the covers, subprocess is calling CreateProcess so there's really not very much we can do here, short of writing our own PATH-handling.

As a matter of fact, passing shell=True will produce the desired effect. Since the only thing this does is to run the process under cmd.exe I assume that cmd.exe itself adds some kind of PATH handling of its own.

I recommend closing as "won't fix".

----------
assignee:  -> tim.golden
components: +Windows
nosy: +steve.dower, tim.golden, zach.ware

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


More information about the Python-bugs-list mailing list