Project

General

Profile

Actions

Bug #10492

closed

Please improve documentation for Process.kill

Added by shevegen (Robert A. Heiler) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.1.4
[ruby-core:66162]

Description

Hi,

The current docu can be seen at:

http://www.ruby-doc.org/core-2.1.4/Process.html#method-c-kill

I would like to see all values that can be passed to

Process.kill

documented there.

Can someone add this please?

I would try to write a patch myself but I do not know which
PIDs are valid and which ones are not, and where else
to find this information. (I tried to look up because
I needed to kill PIDs from a trojan respawning stuff
all over everywhere, and I got tired scanning for
them with shell scripts so I started to write a ruby
script - stuff like /usr/bin/.sshd being a binary
program that tries to keep on respawning itself.
Process.kill :QUIT did not seem to do anything
there)

Actions

Also available in: Atom PDF

Like0
Like0