[Tutor] Python scrypts and daemons
chris.arndt at web.de
Wed Dec 6 16:02:41 CET 2006
emilia12 at mail.bg schrieb:
> Hi all,
> I have a python script (with endless loop) and i want to
> start it from the rc.config file. So, the question is: how
> to covert this script to work as daemon ... or how to start
> the python interpreter ... to work as background process ?
Search google for "daemonize python" and the first hit (at least here) links to
a recipe in the Python Cookbook that does exactly what you want.
More information about the Tutor