Starting a seperate process

Posted by jacquesb on Stack Overflow See other posts from Stack Overflow or by jacquesb
Published on 2010-06-13T15:41:51Z Indexed on 2010/06/13 15:52 UTC
Read the original article Hit count: 110

Filed under:
|

I want a script to start a new process, such that the new process continues running after the initial script exits. I expected that I could use multiprocessing.Process to start a new process, and set daemon=True so that the main script may exit while the created process continues running.

But it seems that the second process is silently terminated when the main script exits. Is this expected behavior, or am I doing something wrong?

© Stack Overflow or respective owner

Related posts about python

Related posts about multiprocessing