Tim Peters <tim.one@comcast.net> writes: > Someone changed test_popen to "quote" the path to python: > > cmd = '"%s" -c "import sys;print sys.argv" %s' % (sys.executable, > cmdline) > ^ ^ > > The double-quote characters above the carets are new. > > This causes test_popen to fail on Win2K, but not on Win98. The relevant > difference appears to be the default shell (cmd.exe on the former, > command.com on the latter). In distutils we had a similar problem. I don't remember the details at the moment exactly, but I think enclosing sys.executable in double quotes *only* when it contains spaces should do the trick. Thomas
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