class method self.kill

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.2.3

Signature

self.kill(pid)

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

Parameters

pid req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close