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

Function spawnlpe

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

spawnlpe(mode, file, *args, env) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwis

(mode, file, *args)

Source from the content-addressed store, hash-verified

958 return spawnvp(mode, file, args)
959
960 def spawnlpe(mode, file, *args):
961 """spawnlpe(mode, file, *args, env) -> integer
962
963Execute file (which is looked for along $PATH) with arguments from
964args in a subprocess with the supplied environment.
965If mode == P_NOWAIT return the pid of the process.
966If mode == P_WAIT return the process's exit code if it exits normally;
967otherwise return -SIG, where SIG is the signal that killed it. """
968 env = args[-1]
969 return spawnvpe(mode, file, args[:-1], env)
970
971
972 __all__.extend(["spawnlp", "spawnlpe"])

Callers

nothing calls this directly

Calls 1

spawnvpeFunction · 0.85

Tested by

no test coverage detected