Using DRb appears to disable signal handlers in Ruby, at least in
1.8.4. Is there any way to work around this?
Compare:
trap( "SIGINT" ) { puts "foo" ; exit 0 }
loop do sleep 1 end
with:
require 'drb'
DRb.start_service
trap( "SIGINT" ) { puts "foo" ; exit 0 }
loop do sleep 1 end
In the second case, sending the process a SIGINT appears to have no
effect at all...
-mental