please help me understand os.system() result
anandpillai
member29923 at dbforums.com
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,
<quote>
Note that POSIX does not specify the returne value of the C system()
function, so the return value of the python function is system
dependent.
</quote>
Linux is a POSIX system so you need not be surprised
at these return values as long as they are not less than
zero.
Anand Pillai
--
"The Python Guy"
Posted via http://dbforums.com
More information about the Python-list
mailing list