class Perus::Pinger::KillProcess
Public Instance Methods
run()
click to toggle source
# File lib/perus/pinger/commands/kill_process.rb, line 8 def run result = shell("killall -#{options.signal} #{options.process_name}") true # shell will capture any errors end