> As I've found, if the end of the pipes in that represent the child's > stderr/stdout fds are closed in the parent, a select() reading the > "other" ends of these pipes will busywaut (at least on Linux). Other > than than, I think this select() would be the absolute right thing on > POSIX rather than using threads or polling. Is there a way around this > problem or is it just a fact of life? The reading code needs to recognize the EOF and then conclude that it's not going to get anything else from that pipe. No different than sockets. --Guido van Rossum (home page: http://www.python.org/~guido/)
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