démon python

# Here is an example from https://peps.python.org/pep-3143/
import daemon

from spam import do_main_program

with daemon.DaemonContext():
    do_main_program()
CompSciGeek