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

Function spawnve

tools/python-3.11.9-amd64/Lib/os.py:883–891  ·  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 sig

(mode, file, args, env)

Source from the content-addressed store, hash-verified

881 return _spawnvef(mode, file, args, None, execv)
882
883 def spawnve(mode, file, args, env):
884 """spawnve(mode, file, args, env) -> integer
885
886Execute file with arguments from args in a subprocess with the
887specified environment.
888If mode == P_NOWAIT return the pid of the process.
889If mode == P_WAIT return the process's exit code if it exits normally;
890otherwise return -SIG, where SIG is the signal that killed it. """
891 return _spawnvef(mode, file, args, env, execve)
892
893 # Note: spawnvp[e] isn't currently supported on Windows
894

Callers 1

spawnleFunction · 0.85

Calls 1

_spawnvefFunction · 0.85

Tested by

no test coverage detected