Daemonizing python
NinjaZombie
ninjazombie at net.hr
Sun Sep 24 17:41:15 EDT 2006
More information about the Python-list mailing list
Sun Sep 24 17:41:15 EDT 2006
- Previous message (by thread): Daemonizing python
- Next message (by thread): Daemonizing python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message (by thread): Daemonizing python
- Next message (by thread): Daemonizing python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list