assert returncode is not None, returncode
assert self._returncode is None, self._returncode
self._returncode = returncode
- self._loop._subprocess_closed(self)
self._call(self._protocol.process_exited)
self._try_finish()
def _child_watcher_callback(self, pid, returncode, transp):
self.call_soon_threadsafe(transp._process_exited, returncode)
- def _subprocess_closed(self, transp):
- pass
-
def _set_nonblocking(fd):
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
yield from transp._post_init()
return transp
- def _subprocess_closed(self, transport):
- pass
-
class IocpProactor:
"""Proactor implementation using IOCP."""