please help me understand os.system() result
Erik Max Francis
max at alcyone.com
Tue May 20 11:38:02 EDT 2003
Eric Brunel wrote:
> According to the library reference (
> http://www.python.org/doc/current/lib/os-process.html#l2h-1226 ): ...
Note that the the return values of os.system and os.wait are just the
same values as their POSIX counterparts, so this is not peculiar to
> Please note that wait, system and the like have quite a tendency to
> return None
> if the command ran to completion without problem, so you're unlikely
> to get 0 as
> a result.
I'm not sure what this means; under what circumstances does it return
None? Doing so would violate the specification as laid out in the
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
__ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE
/ \ A good indignation brings out all one's powers.
\__/ Ralph Waldo Emerson
More information about the Python-list