Merge: #21347: use string not list in shell=True example.

This commit is contained in:
R David Murray 2014-05-14 10:10:14 -04:00
commit 37f524f001

View file

@ -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)