> Hi, > > I have a twisted service that needs to fork child processes to do tasks, > after > which they will exit. I wrote a signal handler for SIGCHLD but it didn't > seem > to be called. I read something about twisted installing its own signal > handlers that may conflict. Is this true? > > How would you recommend handling a SIGCHLD in twisted?
You should probably just use reactor.spawnProcess to fork processes: it implements the process handling for you, and has its own SIGCHLD handler that does the right thing, so you don't have to maintain your own. -Itamar _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python