PATH:
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Sends the given signal to the specified process id(s), or to the current process if <em>pid</em> is zero. <em>signal</em> may be an integer signal number or a POSIX signal name (either with or without a <tt>SIG</tt> prefix). If <em>signal</em> is negative (or starts with a minus sign), kills process groups instead of processes. Not all signals are available on all platforms. - !ruby/struct:SM::Flow::VERB body: " pid = fork do\n Signal.trap("HUP") { puts "Ouch!"; exit }\n # ... do some work ...\n end\n # ...\n Process.kill("HUP", pid)\n Process.wait\n" - !ruby/struct:SM::Flow::P body: <em>produces:</em> - !ruby/struct:SM::Flow::VERB body: " Ouch!\n" full_name: Process::kill is_singleton: true name: kill params: | Process.kill(signal, pid, ...) => fixnum visibility: public
[-] groups-c.yaml
[edit]
[-] groups%3d-c.yaml
[edit]
[-] initgroups-c.yaml
[edit]
[-] waitpid2-c.yaml
[edit]
[-] exit-c.yaml
[edit]
[-] maxgroups%3d-c.yaml
[edit]
[+]
Status
[-] maxgroups-c.yaml
[edit]
[-] wait2-c.yaml
[edit]
[-] waitpid-c.yaml
[edit]
[-] exec-c.yaml
[edit]
[+]
GID
[-] egid-c.yaml
[edit]
[-] exit%21-c.yaml
[edit]
[+]
UID
[-] setpriority-c.yaml
[edit]
[-] gid%3d-c.yaml
[edit]
[-] wait-c.yaml
[edit]
[-] egid%3d-c.yaml
[edit]
[-] fork-c.yaml
[edit]
[-] setpgrp-c.yaml
[edit]
[-] detach-c.yaml
[edit]
[-] kill-c.yaml
[edit]
[-] ppid-c.yaml
[edit]
[-] getpgrp-c.yaml
[edit]
[+]
Sys
[-] times-c.yaml
[edit]
[-] abort-c.yaml
[edit]
[-] euid-c.yaml
[edit]
[-] setsid-c.yaml
[edit]
[-] euid%3d-c.yaml
[edit]
[+]
..
[-] setpgid-c.yaml
[edit]
[-] getpriority-c.yaml
[edit]
[-] pid-c.yaml
[edit]
[-] uid%3d-c.yaml
[edit]
[-] uid-c.yaml
[edit]
[-] cdesc-Process.yaml
[edit]
[-] waitall-c.yaml
[edit]
[-] getpgid-c.yaml
[edit]
[-] getrlimit-c.yaml
[edit]
[-] gid-c.yaml
[edit]
[-] setrlimit-c.yaml
[edit]