[ruby-core:66166] [ruby-trunk - Bug #10492] [Closed] Please improve documentation for Process.kill

From: nobu@...
Date: 2014-11-10 07:09:55 UTC
List: ruby-core #66166
Issue #10492 has been updated by Nobuyoshi Nakada.

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]

----------------------------------------
Bug #10492: Please improve documentation for Process.kill
https://bugs.ruby-lang.org/issues/10492#change-49865

* Author: Robert A. Heiler
* Status: Closed
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
* ruby -v: 2.1.4
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
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)




-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next