Daemonizing python

Paul Rubin http
Sun Sep 24 17:07:12 EDT 2006


NinjaZombie <ninjazombie at net.hr> writes:
> I was wondering if it is possible to turn the current python proccess into
> a unix daemon, but not doing it like this: 
> python myscript.py & 
> but from code programaticaly.

Yeah, os.fork and the parent process exits.



More information about the Python-list mailing list