From: Daniel Berger Date: 2008-04-15T22:35:35+09:00 Subject: Re: at_exit handlers and Process.kill On Apr 15, 7:25 am, Tomek Paczkowski wrote: > Daniel Berger wrote: > > Hi all, > > > Ruby 1.8.6 p114 > > OS X 10.4 > > > None of these handlers get picked up when I kill the 'process_test.rb' > > program with an external program. Why not? > > I had to use all of them: > > Signal.trap("KILL") { } > Signal.trap("EXIT") { } > Signal.trap("TERM") { } > Signal.trap("ABRT") { } > > Use Signal.list to get a list of available signals to trap on you machine. Ok, what about the at_exit handler? Thanks, Dan