mirror of https://github.com/python/cpython
Fix doco. Backport candidate.
This commit is contained in:
parent
ed65755608
commit
8440483fea
|
@ -234,7 +234,7 @@ Replacing os.system()
|
|||
sts = os.system("mycmd" + " myarg")
|
||||
==>
|
||||
p = Popen("mycmd" + " myarg", shell=True)
|
||||
sts = os.waitpid(p.pid, 0)
|
||||
pid, sts = os.waitpid(p.pid, 0)
|
||||
|
||||
Note:
|
||||
|
||||
|
|
Loading…
Reference in New Issue