multi-threaded *nix program needs to spawn an external program/script

Jason Orendorff jason at jorendorff.com
Wed Feb 6 23:34:13 CET 2002


arbalt at yahoo.com wrote:
> Would it make sense to add a function to python for *nix systems
>     that would do the "start an executable file as a new process"?

Try os.spawnv(); it should work for both Unix and Windows.
  http://www.python.org/doc/current/lib/os-process.html

## Jason Orendorff    http://www.jorendorff.com/




More information about the Python-list mailing list