Allow optional trapping of interrupts, and restore previous interrupt…
Created by: ioquatix
… handler after running tests.
My suggestion is to make this the default for RSpec 4.0 because I think it's best for RSpec to be minimally intrusive on tests. What I mean by that is some code may wish to test the behaviour of SIGINT or depend on it's behaviour. The less global state RSpec is changing/manipulating, the better IMHO.