Notice!
PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities.
Create your free Platform account
to download ActivePython or customize Python with the packages you require and get automatic updates.
Download
ActivePython
INSTALL>
pypm install daemonized
How to install daemonized
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install daemonized
| Python 2.7 | Python 3.2 | Python 3.3 |
---|
Windows (32-bit) | | | |
---|
Windows (64-bit) | | | |
---|
Mac OS X (10.5+) | | | |
---|
Linux (32-bit) | | | |
---|
Linux (64-bit) | | | |
---|
Lastest release
version 0.2.4 on Mar 3rd, 2013
# A Simple Class to make your program daemonize in Unix-like system
Usage:
from daemonized import Daemonize
@Daemonize()
def my_func():
System Message: ERROR/3 (<string>, line 10)
Unexpected indentation.
# this func will be daemonize
pass
my_func()
# or, this
d = Daemonize()
d.stdout = '/tmp/d_out' # MUST BE ABSOLUTE PATH
d.stderr = '/tmp/d_err'
- def my_func():
- pass
d.make_daemon()
my_func()