Project

General

Profile

Actions

Bug #727

closed

Signal(CLD) seems not to work on OS X

Added by pragdave (Dave Thomas) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
ruby -v:
Backport:
[ruby-core:19744]

Description

=begin
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)
=end


Related issues 2 (0 open2 closed)

Related to Ruby master - Bug #947: Signal handler block is never called when the program is too shortClosedko1 (Koichi Sasada)12/29/200801/20/2009Actions
Related to Ruby master - Bug #4173: TestProcess#test_wait_and_sigchild が、たまに失敗するClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0