please help me understand os.system() result

Donn Cave donn at u.washington.edu
Tue May 20 14:23:38 EDT 2003


Quoth Erik Max Francis <max at alcyone.com>:
| Donn Cave wrote:
|
| > Can't think of any good reason for this, right off hand, but it
| > has always been thus.
|
| But since it's documented behavior (6.1.2), it's quite all right.

Gratuitous inconsistencies are quite all right as long as they're
in the documentation?  Whatever.  It's late to change it, anyway,
but it would be nice if os.WEXITSTATUS could handle the return from
popen().close() (and return integer [0..127], of course.)

	Donn Cave, donn at u.washington.edu




More information about the Python-list mailing list