From: Yoann Guillot Date: 2006-04-24T19:51:30+09:00 Subject: Re: trap("CLD") - ignore TSTP signal Christopher Horn wrote: > > But the wrapper for the process is unable to differentiate between > a Suspend (TSTP) and a 'normal' termination of the child. > > trap("CLD") { > puts "P: Child pid #{@pid}: caught signal or terminated" > # notify daemon only if signal was not a TSTP Process.wait if not $?.stopped? # notify daemon end > } >