please help me understand os.system() result

Tim Peters tim.one at comcast.net
Tue May 20 12:00:18 EDT 2003


[Duncan Booth]
>> It looks to me as though the documentation is slightly broken at least
>> on Windows systems. It says the return value is in the format specified
>> for wait, but wait is not implemented on Windows systems.

[Erik Max Francis]
> No, the documentation explicitly states that it returns the value
> returned by wait, except on Windows "where it is always 0."

No <wink>, the docs say "except on Windows 95 and 98, where it is always 0".
That's not so on WinNT, Win2K or WinXP.  The docs definitely need
clarification.






More information about the Python-list mailing list