popen

Michael Hudson mwh at python.net
Fri Jun 22 12:37:27 EDT 2001


"Benjamin.Altman" <benjamin.altman at noaa.gov> writes:

> I was wondering when something like popen2 would used over popen.  

When you need access to both the stdout and the stdin of the spawned
process?

> What> is the advantage of running as a sub-process?

popen "runs as a sub-process" too.  Either you or I are failing to
understand something here...

Cheers,
M.

-- 
  Slim Shady is fed up with your shit, and he's going to kill you.
                         -- Eminem, "Public Service Announcement 2000"



More information about the Python-list mailing list