[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Do any one know how to make a daemon in python
- To: "Development Discussions" <developer at arabeyes dot org>
- Subject: Re: Do any one know how to make a daemon in python
- From: "Anas Husseini" <linux dot anas at gmail dot com>
- Date: Sun, 23 Dec 2007 17:27:51 +0200
Salam,
In Python, you can use os.fork() and os.setsid() which are the substitutes of C's fork() and setsid() (of course, you need to import os library).
I find this example concerning a simple daemon in python, and I hope you'll find it useful:
--
It is the darkest under the lighthouse