Class: Codescout::Runner::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/codescout/runner/shell.rb

Instance Method Summary collapse

Instance Method Details

#execute(command) ⇒ Object



3
4
5
6
# File 'lib/codescout/runner/shell.rb', line 3

def execute(command)
  `#{command}`
  $?.success?
end