command exit status on windows

Sami Viitanen none at none.net
Wed Sep 24 13:38:14 CEST 2003


Hello,

Is there a way to check if a command executed in ms-dos returns 0 (success)
or greater than 0 (fail) ?

In Unix the module commands.getstatusoutput returns exit status..


Thanks in advance.

-SV






More information about the Python-list mailing list