summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:11:06 (GMT)
committerPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:11:06 (GMT)
commit6d8e826c5142971a65bed7ac0dc40d65761426e6 (patch)
tree63015e46ec753e0071b727a1b9926a15b9871bbe
parent11ca19675d6c8a1e727b643137f96c483af48863 (diff)
downloadcpython-6d8e826c5142971a65bed7ac0dc40d65761426e6.zip
cpython-6d8e826c5142971a65bed7ac0dc40d65761426e6.tar.gz
cpython-6d8e826c5142971a65bed7ac0dc40d65761426e6.tar.bz2
Corrected bug in list2cmdline wrt backslashes. Fixes #1083306.
-rw-r--r--Lib/subprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index 227ee0e..d115e87 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -490,6 +490,7 @@ def list2cmdline(seq):
result.extend(bs_buf)
if needquote:
+ result.extend(bs_buf)
result.append('"')
return ''.join(result)