summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:10:23 (GMT)
committerPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:10:23 (GMT)
commit7e78ade6f9c387aa48b595b43478741299dff3bb (patch)
tree148b20801b97197495d7ff1fb4a971bd1b5dda06 /Lib/subprocess.py
parentf7f1bb7ff5039626c856efafb68a4d338ab96642 (diff)
downloadcpython-7e78ade6f9c387aa48b595b43478741299dff3bb.zip
cpython-7e78ade6f9c387aa48b595b43478741299dff3bb.tar.gz
cpython-7e78ade6f9c387aa48b595b43478741299dff3bb.tar.bz2
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 61effde..e72e260 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -532,6 +532,7 @@ def list2cmdline(seq):
result.extend(bs_buf)
if needquote:
+ result.extend(bs_buf)
result.append('"')
return ''.join(result)