module Rabbit::SystemRunner
Public Instance Methods
run(cmd, *args) { |$!| ... }
click to toggle source
# File lib/rabbit/utils.rb, line 355 def run(cmd, *args) begin system(cmd, *args) rescue SystemCallError yield($!) if block_given? false end end