Antoine Pitrou added the comment: > Honestly, I think the extra complexity and non-portability isn't worth it.
That's what I think too. If we want to avoid polling, there's another approach: - fork() a first time - fork() in the first child - exec() in the second child - in the first child, call waitpid() and then write() the return code to a fd - in the parent, wait on the fd using select() or poll() ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12187> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com