diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-08-08 19:08:44 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-08-08 19:08:44 (GMT) |
commit | 1a0a737b131b5c54ba32a8dc707db39b4ce03674 (patch) | |
tree | 2b14b288bf5b1d6a8f54b0fcd4c768f764e2b3ef /Lib/subprocess.py | |
parent | 4eb5fa56e4b84a3a76ddc9487f19764dfab52a7f (diff) | |
download | cpython-1a0a737b131b5c54ba32a8dc707db39b4ce03674.zip cpython-1a0a737b131b5c54ba32a8dc707db39b4ce03674.tar.gz cpython-1a0a737b131b5c54ba32a8dc707db39b4ce03674.tar.bz2 |
revert r83830, breaks tests on unixes
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r-- | Lib/subprocess.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py index 760b2a9..ae033d4 100644 --- a/Lib/subprocess.py +++ b/Lib/subprocess.py @@ -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 |