A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/313698.html below:

read stdout/stderr without blocking

read stdout/stderr without blocking read stdout/stderr without blockingJacek Popławski jpopl at interia.pl
Tue Sep 13 10:36:41 EDT 2005
Grant Edwards wrote:
> You're right.  I must have been remembering the behavior of a
> network socket.  Apparently, you're supposed to read a single
> byte and then call select() again.  That seems pretty lame.

I created another thread with single read(), it works, as long as I have 
  only one PIPE (i.e. stderr is redirected into stdout).
I wonder is it Python limitation or systems one (I need portable solution)?

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4