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

Method _make_subprocess_transport

Lib/asyncio/windows_events.py:397–414  ·  view source on GitHub ↗
(self, protocol, args, shell,
                                         stdin, stdout, stderr, bufsize,
                                         extra=None, **kwargs)

Source from the content-addressed store, hash-verified

395 return [server]
396
397 async def _make_subprocess_transport(self, protocol, args, shell,
398 stdin, stdout, stderr, bufsize,
399 extra=None, **kwargs):
400 waiter = self.create_future()
401 transp = _WindowsSubprocessTransport(self, protocol, args, shell,
402 stdin, stdout, stderr, bufsize,
403 waiter=waiter, extra=extra,
404 **kwargs)
405 try:
406 await waiter
407 except (SystemExit, KeyboardInterrupt):
408 raise
409 except BaseException:
410 transp.close()
411 await transp._wait()
412 raise
413
414 return transp
415
416
417class IocpProactor:

Callers

nothing calls this directly

Calls 4

create_futureMethod · 0.45
closeMethod · 0.45
_waitMethod · 0.45

Tested by

no test coverage detected