diff options
author | Varac <varac@leap.se> | 2017-10-16 14:21:55 +0200 |
---|---|---|
committer | Varac <varac@leap.se> | 2017-10-16 14:21:55 +0200 |
commit | c3e807eb42ea7389676b714584bde204eab18577 (patch) | |
tree | d9ac909ff468ff2f00f03a29ab3f9b4ba05a56a7 /lib/dashing/cli.rb | |
parent | 64a3927db5440fe2c9b5c4d02667cb0749884c40 (diff) | |
parent | 2917ad9519d6f872d51582d335a147bf2e5f935e (diff) |
Merge branch 'upgrade_dashing'
Diffstat (limited to 'lib/dashing/cli.rb')
-rw-r--r-- | lib/dashing/cli.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/dashing/cli.rb b/lib/dashing/cli.rb index 4b93f89..57d48d0 100644 --- a/lib/dashing/cli.rb +++ b/lib/dashing/cli.rb @@ -86,7 +86,11 @@ module Dashing private def run_command(command) - system(command) + begin + system(command) + rescue Interrupt => e + say "Exiting..." + end end def install_widget_from_gist(gist, skip_overwrite) |