[Tutor] so.system() return values

Alan Gauld alan.gauld@blueyonder.co.uk
Fri Jun 13 03:19:02 2003


> It appears from tests that os.system(cmd) returns a
> 0 if successful and non-zero if not. This would be
> consistant with C system() call.

Yes. Like many Python things its just a wrapper around the C call.
The os module documentation explains that I thought...

Alan G.