exit を捕捉して終了コードを返す
56 57 58 59 60 61 62
# File 'lib/commandline.rb', line 56 def run!(argv) run(argv) rescue SystemExit => e e.status else 0 end