parent
23042cda40
commit
ae9d193dc4
@ -1013,7 +1013,7 @@ Replacing functions from the :mod:`popen2` module
|
|||||||
|
|
||||||
(child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)
|
(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)
|
stdin=PIPE, stdout=PIPE, close_fds=True)
|
||||||
(child_stdout, child_stdin) = (p.stdout, p.stdin)
|
(child_stdout, child_stdin) = (p.stdout, p.stdin)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user