static public Method

Killer.kill(pid)

Forces the (rails) application to terminate immediately by sending a -9 signal to the process.

Source Code

# File commands/process/reaper.rb, line 38
def kill(pid)
  `kill -9 #{pid}`
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.