Guido van Rossum wrote: >> I can't reproduce this as described. > > Which Windows version? This sounds like one of those things that could > well vary by Windows version; if it works for you in Vista it may well > be broken in XP. It could also vary by other setup parameters besides > PATHEXT. It works the same way on XP, at least: >>> import subprocess >>> cmd = ['svn', 'ls', '.'] >>> subprocess.call(cmd, shell=False) svn: '.' is not a working copy 1 According to the MS docs, CreateProcess works the same way on at least 2K, XP and Vista. The documentation is a bit vague (as usual), but it contains an example that implies that CreateProcess always adds ".exe" if not already there, and that you need to use the command interpreter (that is, shell=True) if you want to run something that's not a Windows executable module (e.g. a batch file). </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4