Inquiry regarding the name of subprocess.Popen class

Derek Martin code at pizzashack.org
Wed Sep 3 01:23:47 EDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20080903/2ee19a2e/attachment-0001.sig>


More information about the Python-list mailing list