module Canoe::SystemCommand
Public Instance Methods
issue_command(cmd_str)
click to toggle source
# File lib/util.rb, line 63 def issue_command(cmd_str) puts cmd_str system(cmd_str) end
run_command(cmd_str)
click to toggle source
# File lib/util.rb, line 68 def run_command(cmd_str) puts cmd_str status = system(cmd_str) puts $CHILD_STATUS unless status status end