Re: Daemonizing python

2006-09-24 Thread NinjaZombie
Na dan Sun, 24 Sep 2006 14:35:31 -0700, Paul Rubin je napisao: > Try it this way: > > import os, sys > print "Entering program" > > if os.fork(): > sys.exit() # parent process exits so shell returns > > while (1): # child process continues

Re: Daemonizing python

2006-09-24 Thread NinjaZombie
Na dan Sun, 24 Sep 2006 23:19:12 +0200, Bjoern Schliessmann je napisao: > Paul Rubin wrote: >> NinjaZombie <[EMAIL PROTECTED]> writes: > >>> I was wondering if it is possible to turn the current python >>> proccess into a unix daemon, but not doing it like th

Daemonizing python

2006-09-24 Thread NinjaZombie
Hi! 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. Thanks. -- http://mail.python.org/mailman/listinfo/python-list