Kaydet (Commit) 2e1285ba authored tarafından Georg Brandl's avatar Georg Brandl

#6481: fix typo in os.system() replacement.

üst da334249
...@@ -404,7 +404,7 @@ Replacing :func:`os.system` ...@@ -404,7 +404,7 @@ Replacing :func:`os.system`
sts = os.system("mycmd" + " myarg") sts = os.system("mycmd" + " myarg")
==> ==>
p = Popen("mycmd" + " myarg", shell=True) p = Popen("mycmd" + " myarg", shell=True)
sts = os.waitpid(p.pid, 0) sts = os.waitpid(p.pid, 0)[1]
Notes: Notes:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment