[Python-checkins] r50501 - python/trunk/Lib/subprocess.py
neal.norwitz
python-checkins at python.org
Mon Jul 10 02:05:34 CEST 2006
Author: neal.norwitz
Date: Mon Jul 10 02:05:34 2006
New Revision: 50501
Modified:
python/trunk/Lib/subprocess.py
Log:
Fix doco. Backport candidate.
Modified: python/trunk/Lib/subprocess.py
==============================================================================
--- python/trunk/Lib/subprocess.py (original)
+++ python/trunk/Lib/subprocess.py Mon Jul 10 02:05:34 2006
@@ -234,7 +234,7 @@
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:
More information about the Python-checkins
mailing list