Trap SIGINT #1395

yfeldblum opened this Issue Sep 5, 2011 · 0 comments


None yet
2 participants

bin/bundle should trap SIGINT all the time, rather than just surrounding Bundler::CLI.start.

Currently, if the user hits <ctrl>+c generating a SIGINT while bundler is in the middle of require 'bundler'or require 'bundler/cli', the error will be unhandled. Bundler should trap this SIGINT too by wrapping the whole binary in an exception-handling block which handles Interrupt. If Bundler did so, then there would be much less chance (essentially just the binstub or any -r flags) for a SIGINT to go unhandled.

@ghost ghost assigned indirect Sep 17, 2011

@indirect indirect closed this in d758698 Sep 17, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment