Possible problem with popen2 module

A. Lloyd Flanagan alloydflanagan at comcast.net
Mon May 3 10:17:59 EDT 2004


Donn Cave <donn at u.washington.edu> wrote in message news:<donn-DDEC9A.11251930042004 at nntp4.u.washington.edu>...
> In article <e838aa6e.0404300614.57c13c8a at posting.google.com>,
>  alloydflanagan at comcast.net (A. Lloyd Flanagan) wrote:

> Pipes are `slow', fixed size devices.  You can write only some
> small amount of data to a pipe, and then you have to wait for
> the peer process on the other end to read that data and make
> more room.  Waiting like (and waiting for the peer on reads)
> is what makes them slow, which really means interruptible by
> signals (just an aside.)
> 
> What would work the way you want is a disk file.  Redirect

Thanks Donn, it makes sense now.  I only feel a little stupid :).
I'm certainly learning more about inter-process communcation on this assignment.



More information about the Python-list mailing list