V
Victor Hooi
Hi,
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?
Cheers,
Victor
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?
Cheers,
Victor