mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Fix doco. Backport candidate.
This commit is contained in:
parent
ed65755608
commit
8440483fea
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue