Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Trap SIGINT #1395

Closed
yfeldblum opened this issue Sep 5, 2011 · 0 comments
Closed

Trap SIGINT #1395

yfeldblum opened this issue Sep 5, 2011 · 0 comments
Assignees
Milestone

Comments

@yfeldblum
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants