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

Function create_subprocess_exec

Lib/asyncio/subprocess.py:218–229  ·  view source on GitHub ↗
(program, *args, stdin=None, stdout=None,
                                 stderr=None, limit=streams._DEFAULT_LIMIT,
                                 **kwds)

Source from the content-addressed store, hash-verified

216
217
218async def create_subprocess_exec(program, *args, stdin=None, stdout=None,
219 stderr=None, limit=streams._DEFAULT_LIMIT,
220 **kwds):
221 loop = events.get_running_loop()
222 protocol_factory = lambda: SubprocessStreamProtocol(limit=limit,
223 loop=loop)
224 transport, protocol = await loop.subprocess_exec(
225 protocol_factory,
226 program, *args,
227 stdin=stdin, stdout=stdout,
228 stderr=stderr, **kwds)
229 return Process(transport, protocol, loop)

Callers

nothing calls this directly

Calls 3

ProcessClass · 0.70
subprocess_execMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…