revert r83830, breaks tests on unixes

This commit is contained in:
Benjamin Peterson 2010-08-08 19:08:44 +00:00
parent 4eb5fa56e4
commit 1a0a737b13
2 changed files with 1 additions and 43 deletions

View file

@ -853,7 +853,7 @@ class Popen(object):
startupinfo.dwFlags |= _subprocess.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = _subprocess.SW_HIDE
comspec = os.environ.get("COMSPEC", "cmd.exe")
args = comspec + " /c " + '"%s"' % args
args = comspec + " /c " + args
if (_subprocess.GetVersion() >= 0x80000000 or
os.path.basename(comspec).lower() == "command.com"):
# Win9x, or using command.com on NT. We need to