From: Yukihiro Matsumoto Date: 2006-02-17T08:28:50+09:00 Subject: Re: Curious interaction between trap and sleep Hi, In message "Re: Curious interaction between trap and sleep" on Thu, 16 Feb 2006 07:28:27 +0900, Eric Jacoboni writes: |Can someone explain why this code: |doesn't work as i expect (it seems the sleep is never called: the |parent process exit immediately after it get SIGCHLD...). It does work on my machine (1.8.4 2006-02-15; i686-linux), although I have to move trap before fork. Do you mind if I ask you more information about the version of your Ruby, and your platform? matz.