On Wed, Sep 03, 2008 at 12:20:18AM -0400, Miles wrote:
> Derek Martin wrote:
> > On Tue, Sep 02, 2008 at 10:55:54PM +0000, Marc 'BlackJack' Rintsch wrote:
> >> but the instances of `Popen` are no actions.  There's no way to
> >> "execute" a `Popen` instance.
> >
> > Yes there is... you execute it when you instantiate the object.  At
> > the time of instantiation, you "open" the "P" (pipes).
> 
> The subprocess module is also supposed to replace os.system and
> os.spawn*, neither of which involve opening pipes. 

Uh... it's a replacement for os.popen(), which -- guess what -- opens
pipes.

-- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0x81CFE75D

Attachment: pgpFzhcvw9B48.pgp
Description: PGP signature

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to