4 5 6 7 8
# File 'lib/caravan/command.rb', line 4 def run(cmd, debug = false) output = `#{cmd}` Caravan::Message.debug(cmd) if debug return $CHILD_STATUS.exitstatus, output end