Re: Daemonizing python
- From: NinjaZombie <ninjazombie@xxxxxx>
- Date: Sun, 24 Sep 2006 23:41:15 +0200
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
pass # some other work
This works! Thanks a bunch, Paul.
.
- References:
- Daemonizing python
- From: NinjaZombie
- Re: Daemonizing python
- From: Paul Rubin
- Re: Daemonizing python
- From: Bjoern Schliessmann
- Re: Daemonizing python
- From: NinjaZombie
- Re: Daemonizing python
- From: Paul Rubin
- Daemonizing python
- Prev by Date: ruby %w equivalent
- Next by Date: Re: Daemonizing python
- Previous by thread: Re: Daemonizing python
- Next by thread: Re: Daemonizing python
- Index(es):
Relevant Pages
|