Spawn a process, then exit, whilst leaving process running?
victorhooi at gmail.com
Sat Feb 9 06:04:33 CET 2013
I have a Python script that I'd like to spawn a separate process (SSH client, in this case), and then have the script exit whilst the process continues to run.
I looked at Subprocess, however, that leaves the script running, and it's more for spawning processes and then dealing with their output.
Somebody mentioned multiprocessing, however, I'm not sure quite sure how that would work here.
What's the most Pythontic way of achieving this purpose?
More information about the Python-list