How to get the return status of a command runned by os.popen4

Alain Barthe barthe at magic.fr
Mon Sep 3 14:17:41 EDT 2001


Hi,

I cannot get the return status of a command runned by os.popen4 or
popen2.popen4. File closing does not return the status as os.popen does.

I can get it with an object popen2.popen4, but it's not Windows
compliant.

Anybody has the solution ?

Thanks.
-- 
Alain Barthe
mailto:barthe at albar.fr      Tel/Fax : 05-61-16-09-55
http://www.albar.fr         Mobile :  06-22-08-82-61
--



More information about the Python-list mailing list