[Python-checkins] cpython (merge 3.4 -> default): Merge: #21347: use string not list in shell=True example.
r.david.murray
python-checkins at python.org
Wed May 14 16:10:40 CEST 2014
http://hg.python.org/cpython/rev/217006c5455f
changeset: 90696:217006c5455f
parent: 90693:c5464268aead
parent: 90695:3b27f3acf0c4
user: R David Murray <rdmurray at bitdance.com>
date: Wed May 14 10:10:14 2014 -0400
summary:
Merge: #21347: use string not list in shell=True example.
files:
Doc/library/subprocess.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -1014,7 +1014,7 @@
(child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)
==>
- p = Popen(["somestring"], shell=True, bufsize=bufsize,
+ p = Popen("somestring", shell=True, bufsize=bufsize,
stdin=PIPE, stdout=PIPE, close_fds=True)
(child_stdout, child_stdin) = (p.stdout, p.stdin)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list