os.system() << 8 ?

P at draigBrady.com P at draigBrady.com
Wed May 28 11:37:31 EDT 2003


Jacek Generowicz wrote:
> Why does os.system seem to return a value which is 256 times the actual
> status code returned by its argument ?

os.WEXITSTATUS

man waitpid for more info

Pádraig.





More information about the Python-list mailing list