]> granicus.if.org Git - python/commitdiff
Fix doco. Backport candidate.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 10 Jul 2006 00:05:34 +0000 (00:05 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 10 Jul 2006 00:05:34 +0000 (00:05 +0000)
Lib/subprocess.py

index 9c9cd69df278cb65636d0ef3320fd65e756bc64a..1fa036e7e6e4df51f15533c8fb0e24a07e3f5482 100644 (file)
@@ -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: