diff options
author | Guido van Rossum <guido@python.org> | 2013-10-20 20:21:11 -0700 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-10-20 20:21:11 -0700 |
commit | d1bde11a741d9de1c22816b36248c7915adabcd7 (patch) | |
tree | a2315fea0cec08f45ed0a39df0c7457e8c5bd3c8 /asyncio/unix_events.py | |
parent | 59b88bf147a9021b127e877b01648728cb2ea6e7 (diff) | |
download | trollius-d1bde11a741d9de1c22816b36248c7915adabcd7.tar.gz |
CPython issue #19309: make waitpid() wait for processes from all groups.
Diffstat (limited to 'asyncio/unix_events.py')
-rw-r--r-- | asyncio/unix_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asyncio/unix_events.py b/asyncio/unix_events.py index a234f4f..7623f78 100644 --- a/asyncio/unix_events.py +++ b/asyncio/unix_events.py @@ -168,7 +168,7 @@ class SelectorEventLoop(selector_events.BaseSelectorEventLoop): def _sig_chld(self): try: try: - pid, status = os.waitpid(0, os.WNOHANG) + pid, status = os.waitpid(-1, os.WNOHANG) except ChildProcessError: return if pid == 0: |