On Jul 25, 8:37 pm, Johny <[EMAIL PROTECTED]> wrote: > Is it possible to run a Python program as daemon? > Thanks
Here is an example on how to run a Python script as a Unix daemon: http://svn.plone.org/svn/collective/bda.daemon/trunk/bda/daemon/daemon.py Basically it forks twice and redirects open file descriptors to /dev/ null. On Windows, 'daemons' are called services. You can write Windows services in Python using the Pywin32 extension. See Mark Hammond's book for an explanation. -- http://mail.python.org/mailman/listinfo/python-list
