Threads and daemon processes

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri May 8 20:30:40 EDT 2009


En Fri, 08 May 2009 18:06:02 -0300, Jeffrey Barish  
<jeff_barish at earthlink.net> escribió:

> I have a program that uses threading.Timer to execute a function after a
> delay.  It works fine when I run the program normally, but when I run the
> program as a daemon process, I can't find any evidence that the function
> ever runs.  Is it the case that daemon processes are not allowed to  
> create a thread?

Try redirecting stdout/stderr to some log file; maybe your daemon dies due  
to some error.

-- 
Gabriel Genellina




More information about the Python-list mailing list