Traping output from os.system

David Bolen db3l at fitlinxx.com
Mon Jul 3 15:37:35 EDT 2000


"Mark Hammond" <MarkH at ActiveState.com> writes:

> You want "popen".  For non-windows platforms, "os.popen" is where you can
> find it.  For Win32 systems, you need the win32 extensions, and
> "win32pipe.popen".

Any chance that a future update to the extensions will be able to
return the result code of the child process on a close(), as
os.popen() does?

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list