[Python-Dev] subprocess insufficiently platform-independent? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Aug 26 03:52:16 CEST 2008


Guido van Rossum wrote:

If you call:

subprocess.call(cmd, shell=False) Then it works on Linux, but fails on Windows because it does not perform the Windows %PATHEXT% search that allows it to find that "svn.exe" is the actual executable to be invoked.

Maybe the Windows implementation should do its own %PATHEXT% lookup when the shell is not being used.

-- Greg



More information about the Python-Dev mailing list