please help me understand os.system() result

anandpillai member29923 at
Tue May 20 09:44:24 EDT 2003

On windows os.system() returns zero if successful always
and nonzero othewise.

The documentation of this function says,

Note that POSIX does not specify the returne value of the C system()
function, so the return value of the python function is system

Linux is a POSIX system so you need not be surprised
at these return values as long as they are not less than

Anand Pillai

"The Python Guy"

Posted via

More information about the Python-list mailing list