Return value for popen?
daniel.dittmar at sap.com
Mon Nov 26 10:41:15 CET 2001
> Is it possible to get a process' return (errorlevel) value from popen, as
> is with os.system()?
>From the 2.1 documentation of popen ():
The exit status of the command (encoded in the format specified for wait())
is available as the return value of the close() method of the file object,
except that when the exit status is zero (termination without errors), None
More information about the Python-list