module Dosh::Shelling

Protected Instance Methods

shell(*args) click to toggle source
# File lib/shelling.rb, line 8
def shell(*args)
  cmd = args * ' '
  `#{cmd}`
rescue Errno::ENOENT => e
  nil
end