lib/rabbit/command/rabbit.rb in rabbit-2.1.7 vs lib/rabbit/command/rabbit.rb in rabbit-2.1.8

- old
+ new

@@ -48,9 +48,13 @@ require "rabbit/canvas" GC.enable application = ::Rabbit.application succeeded = false + application.signal_connect("command-line") do |_, command_line| + application.activate + 0 + end application.signal_connect("activate") do succeeded = __send__("do_#{@options.action}") end application.run succeeded