#937: Rescuing Interrupt doesn't work -------------------------------------+-------------------------------------- Reporter: eloy.de.enige@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: irb -------------------------------------+-------------------------------------- This is needed by IRB and used to work, iirc: {{{ % macruby -e 'begin; loop {}; rescue Interrupt; p :ok; end' ^C % ruby19 -e 'begin; loop {}; rescue Interrupt; p :ok; end' ^C:ok }}} Trap does work, though. {{{ % macruby -e 'trap("SIGINT") { p :ok; exit }; loop {}' ^C:ok }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/937> MacRuby <http://macruby.org/>