A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-bugs-list/2001-October/007698.html below:

[Python-bugs-list] [ python-Bugs-471615 ] Incorrepopen2 exit status misrepresented

[Python-bugs-list] [ python-Bugs-471615 ] Incorrepopen2 exit status misrepresented [Python-bugs-list] [ python-Bugs-471615 ] Incorrepopen2 exit status misrepresentednoreply@sourceforge.net noreply@sourceforge.net
Mon, 15 Oct 2001 23:34:52 -0700
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: Open
Resolution: None
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.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=471615&group_id=5470



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4