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

Function spawnvp

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

spawnvp(mode, file, args) -> integer Execute file (which is looked for along $PATH) 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 signa

(mode, file, args)

Source from the content-addressed store, hash-verified

893 # Note: spawnvp[e] isn't currently supported on Windows
894
895 def spawnvp(mode, file, args):
896 """spawnvp(mode, file, args) -> integer
897
898Execute file (which is looked for along $PATH) with arguments from
899args in a subprocess.
900If mode == P_NOWAIT return the pid of the process.
901If mode == P_WAIT return the process's exit code if it exits normally;
902otherwise return -SIG, where SIG is the signal that killed it. """
903 return _spawnvef(mode, file, args, None, execvp)
904
905 def spawnvpe(mode, file, args, env):
906 """spawnvpe(mode, file, args, env) -> integer

Callers 1

spawnlpFunction · 0.85

Calls 1

_spawnvefFunction · 0.85

Tested by

no test coverage detected