Non-blocking read with popen subprocess

Jonathan Gardner jgardner at
Fri Jul 31 04:30:46 CEST 2009

On Jul 30, 5:24 pm, Dhanesh <dhanesh... at> wrote:
> how can I we have a non blocking read ?


Note well: In the non-blocking world, you have to use select() or poll
() to get your job done.

You may want to look at "communicate" (
subprocess.html#popen-objects) which may be what you need.

More information about the Python-list mailing list