popen with separete stdout/stderr deadlock.

Eyal Lotem eyal at hyperroll.com
Thu Nov 29 15:07:08 EST 2001


When running popen with a separate stdout/stderr, can I use read() on the 
resulting stdout file? it seems to 'hang', and I'm assuming stderr's buffer 
is stuck on write (as it is all filled up), and my stdout read() is stuck 
on waiting for EOF, which will never come.  Deadlock.

Is this really what's happening and how can it be avoided?




More information about the Python-list mailing list