On modern linux, signalfd can be used to convert sigchld into an event on a file descriptor. Looks like just what is wanted for processProtocol.
There is also a python interface here: https://launchpad.net/python-signalfd/+download This test seems to work for me: import signalfd import signal import subprocess import select signalfd.sigprocmask (signalfd.SIG_BLOCK, [signal.SIGCHLD]) fd = signalfd.signalfd (-1, [signal.SIGCHLD]) child = subprocess.Popen (['sleep', '5']) while True: a,b,c, = select.select ([fd], [], []) print 'a:', a, 'b:', b, 'c:', c if child.poll() != None: break _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python