Creating a daemon process in Python

garrickp at gmail.com garrickp at gmail.com
Wed Feb 21 18:01:07 EST 2007


On Feb 21, 3:34 pm, Benjamin Niemann <p... at odahoda.de> wrote:
> That's not a daemon process (which are used to execute 'background services'
> in UNIX environments).

I had not tested this by running the script directly, and in writing a
response, I found out that the entire interpreter closed when the main
thread exited (killing the daemonic thread in the process). This is
different behavior from running the script interactively, and thus my
confusion.

Thanks! ~Garrick




More information about the Python-list mailing list