On Thursday 05 April 2007, Scott Taylor wrote: > How can I remove such a trapping from a program? > > I'm running autotest through a rake task. Autotest uses ^C to > restart the tests, rake uses it to cancel the task at hand. > > What would be the best way to remove this trap from rake? Under Posix, you would have to use sigmask(). I don't think there is a ruby equivalent though ... Note that ^C is already trapped by the interpreter, which raises Interrupt ... -- Sylvain Joyeux