[Python-bugs-list] [ python-Bugs-471615 ] Incorrepopen2 exit status misrepresented (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Tue, 16 Oct 2001 07:04:23 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-467145 ] Python 2.2a4 build problem on HPUX 11.0
- Next message: [Python-bugs-list] [ python-Bugs-471720 ] ThreadingMixIn/TCPServer forgets close
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bugs item #471615, was opened at 2001-10-15 23:34 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471615&group_id=5470
Category: Documentation Group: Python 2.1.1
Status: Closed Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: Incorrepopen2 exit status misrepresented
Initial Comment: The docs for the os module describe popen2, popen3, and popen4 as though they behaved like popen.
Specifically, the doc says that "The exit status of the command (encoded in the format specified for wait()) is available as the return value of the close() method of the file object ..."
This is not true. popen2 and friends do not return process exit status this way. Instead, they provide a wait() method for fetching process status. The docs for the popen2 module more truthfully describe how exit status is returned.
Comment By: Fred L. Drake, Jr. (fdrake) Date: 2001-10-16 07:04
Message: Logged In: YES user_id=3066
This has already been fixed in the development version of the documentation. See:
http://python.sourceforge.net/devel-docs/lib/module-os.html
You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471615&group_id=5470
- Previous message: [Python-bugs-list] [ python-Bugs-467145 ] Python 2.2a4 build problem on HPUX 11.0
- Next message: [Python-bugs-list] [ python-Bugs-471720 ] ThreadingMixIn/TCPServer forgets close
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]