Return value for popen?

Syver Enstad syver-en at online.no
Mon Nov 26 03:04:15 EST 2001


"nobody" <root@[127.0.0.1]> writes:

> Is it possible to get a process' return (errorlevel) value from popen, as it
> is with os.system()?

Yes, it returns None when everythings ok, errorlevel in other cases,
see the python docs

-- 

Vennlig hilsen 

Syver Enstad



More information about the Python-list mailing list