Method: Linecook::CommandUtils#sh

Defined in:
lib/linecook/command_utils.rb

#sh(cmd) ⇒ Object



9
10
11
12
# File 'lib/linecook/command_utils.rb', line 9

def sh(cmd)
  $stderr.puts "$ #{cmd}" unless quiet
  system(cmd)
end