Project

General

Profile

Bug #10492

Please improve documentation for Process.kill

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

Status:
Closed
Priority:
Normal
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)

Updated by nobu (Nobuyoshi Nakada) over 5 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r48358.


signal.c: signal list to kill

  • signal.c (rb_f_kill): [DOC] mention known signal list. [ruby-core:66162] [Bug #10492]

Also available in: Atom PDF