PyDocs

Nav

Concurrent Execution

set_executable

multiprocessing

function (source) not Androidnot iOSnot WASI
  • set_executable(executable)
Sets the path to a python.exe or pythonw.exe binary used to run
child processes instead of sys.executable when using the 'spawn'
start method.  Useful for people embedding Python.
Changed in 3.4, 3.11
  • 3.4: Now supported on POSIX when the 'spawn' start method is used.
  • 3.11: Accepts a path-like object.
0 Examples
No examples for multiprocessing/set_executable.
See Also
No see-alsos for multiprocessing/set_executable
0 Notes
No notes for set_executable