class method
self.kill
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
self.kill(pid)
Forces the (rails) application to terminate immediately by sending a -9 signal to the process.
Parameters
-
pidreq
Source
# File railties/lib/commands/process/reaper.rb, line 38
def kill(pid)
`kill -9 #{pid}`
end
Defined in railties/lib/commands/process/reaper.rb line 38
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Killer