Non-blocking read with popen subprocess
jgardner at jonathangardner.net
Fri Jul 31 04:30:46 CEST 2009
On Jul 30, 5:24 pm, Dhanesh <dhanesh... at gmail.com> 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" (http://docs.python.org/library/
subprocess.html#popen-objects) which may be what you need.
More information about the Python-list