exar...@twistedmatrix.com wrote:

> On 03:47 pm, ndbeck...@gmail.com wrote:
>>Using processProtocol.  If a child is stopped (e.g., by SIGSTOP), is
>>there
>>some way to detect this?
> 
> The parent will get a SIGCHLD when the child gets SIGSTOP or SIGCONT.
> Using sigaction, you can learn which process was affected, and in what
> way.  We don't have a sigaction wrapper that provides this
> functionality, though (the stdlib signal.signal actually wraps
> sigaction, but it doesn't expose any more functionality than you get
> from signal(2)).
> 
> Jean-Paul

Didn't twisted already install it's own signal handler for SIGCHLD?  So 
you're suggesting I can chain my own, which then calls the one installed by 
twisted?


_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to