diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-03-14 20:02:38 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-03-14 20:02:38 (GMT) |
commit | 7520df439a9cd3eff2ae39802e9331df17018d75 (patch) | |
tree | 0d0ef5d12b43a5bb7092611b0cb564cc5c97000e /Lib/test/test_cmd_line.py | |
parent | 1a5fe58cd49477e5678df141f01f08b01fc9a449 (diff) | |
download | cpython-7520df439a9cd3eff2ae39802e9331df17018d75.zip cpython-7520df439a9cd3eff2ae39802e9331df17018d75.tar.gz cpython-7520df439a9cd3eff2ae39802e9331df17018d75.tar.bz2 |
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r-- | Lib/test/test_cmd_line.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py index 5e89863..cacae7a 100644 --- a/Lib/test/test_cmd_line.py +++ b/Lib/test/test_cmd_line.py @@ -6,7 +6,7 @@ import subprocess class CmdLineTest(unittest.TestCase): def start_python(self, cmd_line): - outfp, infp = popen2.popen4('%s %s' % (sys.executable, cmd_line)) + outfp, infp = popen2.popen4('"%s" %s' % (sys.executable, cmd_line)) infp.close() data = outfp.read() outfp.close() |