MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / spawnl

Function spawnl

tools/python-3.11.9-amd64/Lib/os.py:923–930  ·  view source on GitHub ↗

spawnl(mode, file, *args) -> integer Execute file with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it.

(mode, file, *args)

Source from the content-addressed store, hash-verified

921 # but can be easily implemented in Python
922
923 def spawnl(mode, file, *args):
924 """spawnl(mode, file, *args) -> integer
925
926Execute file with arguments from args in a subprocess.
927If mode == P_NOWAIT return the pid of the process.
928If mode == P_WAIT return the process's exit code if it exits normally;
929otherwise return -SIG, where SIG is the signal that killed it. """
930 return spawnv(mode, file, args)
931
932 def spawnle(mode, file, *args):
933 """spawnle(mode, file, *args, env) -> integer

Callers

nothing calls this directly

Calls 1

spawnvFunction · 0.85

Tested by

no test coverage detected