summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:10:23 +0000
committerPeter Astrand <astrand@lysator.liu.se>2005-03-03 21:10:23 +0000
commit874a88863fe14c5d29c319dfc8eea665d9b91e13 (patch)
tree8f106df633a2ad09adf560ac8dea8753d8472f8d
parent859e54541af9dfa5c61fb06688f637b1f1cdf970 (diff)
downloadcpython-874a88863fe14c5d29c319dfc8eea665d9b91e13.tar.gz
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 61effde7b6..e72e26055e 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)