Module: Cch::Commands::Shell

Included in:
Runner, Watcher
Defined in:
lib/cch/commands/shell.rb

Instance Method Summary collapse

Instance Method Details

#backtiq_command(command) ⇒ Object


4
5
6
7
# File 'lib/cch/commands/shell.rb', line 4

def backtiq_command(command)
  log_command(command)
  (`#{command}` || '').split(/\n/)
end

#system_command(command) ⇒ Object


9
10
11
12
# File 'lib/cch/commands/shell.rb', line 9

def system_command(command)
  log_command(command)
  system(command)
end