From: Dave Thomas <redmine@...>
Date: 2008-11-08T23:49:41+09:00
Subject: [ruby-core:19744] [Bug #727] Signal(CLD) seems not to work on OS X

Bug #727: Signal(CLD) seems not to work on OS X
http://redmine.ruby-lang.org/issues/show/727

Author: Dave Thomas
Status: Open, Priority: Normal
Category: core

I've noticed differences in the handling of SIGCLD in 1.9. For example, the following code:

        Signal.trap("CLD")  { puts "Child died" }
        fork && Process.wait

now reports

     t.rb:2:in `wait': Interrupted system call (Errno::EINTR)
              from t.rb:2:in `<main>'

With 1.8, it just says "Child died" (which is what I'd expect)


----------------------------------------
http://redmine.ruby-lang.org