Method: AutomateIt::ShellManager::Portable#sh

Defined in:
lib/automateit/shell_manager/portable.rb

#sh(*commands) ⇒ Object

See ShellManager#sh



72
73
74
75
76
# File 'lib/automateit/shell_manager/portable.rb', line 72

def sh(*commands)
  args, opts = args_and_opts(*commands)
  log.info(PEXEC+"#{args.join(' ')}")
  return writing? ? system(*args) : true
end