Class: ShellCommands

Inherits:
Object
  • Object
show all
Defined in:
lib/optimus-runner/commands/ShellCommands.rb

Instance Method Summary collapse

Instance Method Details

#kill_process(pid) ⇒ Object



3
4
5
# File 'lib/optimus-runner/commands/ShellCommands.rb', line 3

def kill_process(pid)
  spawn("kill #{pid}")
end