Class: Dirwatch::Console
Instance Method Summary collapse
Instance Method Details
#run(args) ⇒ Object
51 52 53 54 55 56 57 58 59 |
# File 'lib/dirwatch/executors.rb', line 51 def run args status = catch :exit do super end exit status || 0 rescue Dirwatch::UserFriendlyError => e $stderr.puts e. exit 1 end |