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

Method _start

Lib/asyncio/windows_events.py:878–888  ·  view source on GitHub ↗
(self, args, shell, stdin, stdout, stderr, bufsize, **kwargs)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 2

wait_for_handleMethod · 0.80
add_done_callbackMethod · 0.45

Tested by

no test coverage detected