summaryrefslogtreecommitdiffstats
path: root/Doc/library/subprocess.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-05-14 14:10:14 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-05-14 14:10:14 (GMT)
commit37f524f00134bd5eff56eb140f2c48e6c0c49d5c (patch)
treef1507ddc294790ecd20d25a95d7493590a84bf17 /Doc/library/subprocess.rst
parentacddff6f28ea6696f54d3e8174c2b6cb576dcf5e (diff)
parentae9d193dc467eb1135f56523caa28c0ebce1ff15 (diff)
downloadcpython-37f524f00134bd5eff56eb140f2c48e6c0c49d5c.zip
cpython-37f524f00134bd5eff56eb140f2c48e6c0c49d5c.tar.gz
cpython-37f524f00134bd5eff56eb140f2c48e6c0c49d5c.tar.bz2
Merge: #21347: use string not list in shell=True example.
Diffstat (limited to 'Doc/library/subprocess.rst')
-rw-r--r--Doc/library/subprocess.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
index e542780..d76e29f 100644
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -1014,7 +1014,7 @@ Replacing functions from the :mod:`popen2` module
(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)