From: Ned Konz Date: 2002-07-11T07:18:50+09:00 Subject: Re: Waits are not interrupted by signals On Wednesday 10 July 2002 02:53 pm, Bob Alexander wrote: > The signal handler is invoked, but the wait is not interrupted. If > Enter is typed in the first shell, the program prints the input and > terminates (since its IO request is satisfied). seems to work right with Ruby 1.6.7 under Linux: $ cat > xx.rb p Process.pid begin p $stdin.read(1) rescue => e p e end $ ruby xx.rb 3195 xx.rb:4:in `read': SIGUSR1 (SignalException) from xx.rb:4 -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE