MCPcopy Index your code
hub / github.com/python/cpython / _WindowsSubprocessTransport

Class _WindowsSubprocessTransport

Lib/asyncio/windows_events.py:876–888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874
875
876class _WindowsSubprocessTransport(base_subprocess.BaseSubprocessTransport):
877
878 def _start(self, args, shell, stdin, stdout, stderr, bufsize, **kwargs):
879 self._proc = windows_utils.Popen(
880 args, shell=shell, stdin=stdin, stdout=stdout, stderr=stderr,
881 bufsize=bufsize, **kwargs)
882
883 def callback(f):
884 returncode = self._proc.poll()
885 self._process_exited(returncode)
886
887 f = self._loop._proactor.wait_for_handle(int(self._proc._handle))
888 f.add_done_callback(callback)
889
890
891SelectorEventLoop = _WindowsSelectorEventLoop

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…