subprocess and non-blocking IO (again)

Marc Carter mcarter at uk.ibm.com
Tue Oct 11 07:35:24 EDT 2005


Donn Cave wrote:
> If you want to use select(), don't use the fileobject
> functions. Use os.read() to read data from the pipe's file
> descriptor (p.stdout.fileno().)  This is how you avoid the
> buffering.
Thankyou, this works perfectly.  I figured it would be something simple.

Marc



More information about the Python-list mailing list