25 26 27 28 29 30 31 32
# File 'lib/yavdb/utils/exec.rb', line 25 def self.run(cmd) puts "[Running] #{cmd}" if Constants::DEBUG output = `#{cmd}` { :output => output, :success? => $CHILD_STATUS.success? } end