MCPcopy Index your code
hub / github.com/RustPython/RustPython / spawnve

Function spawnve

Lib/os.py:928–936  ·  view source on GitHub ↗

spawnve(mode, file, args, env) -> integer Execute file with arguments from args in a subprocess with the specified 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; otherwise return -SIG, where SIG is the signal th

(mode, file, args, env)

Source from the content-addressed store, hash-verified

926 return _spawnvef(mode, file, args, None, execv)
927
928 def spawnve(mode, file, args, env):
929 """spawnve(mode, file, args, env) -> integer
930
931Execute file with arguments from args in a subprocess with the
932specified environment.
933If mode == P_NOWAIT return the pid of the process.
934If mode == P_WAIT return the process's exit code if it exits normally;
935otherwise return -SIG, where SIG is the signal that killed it. """
936 return _spawnvef(mode, file, args, env, execve)
937
938 # Note: spawnvp[e] isn't currently supported on Windows
939

Callers 1

spawnleFunction · 0.70

Calls 1

_spawnvefFunction · 0.85

Tested by

no test coverage detected