|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/Process/ |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the process id of the parent of this process. Always returns 0 on NT. Not available on all platforms.
- !ruby/struct:SM::Flow::VERB
body: " puts "I am #{Process.pid}"\n Process.fork { puts "Dad is #{Process.ppid}" }\n"
- !ruby/struct:SM::Flow::P
body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB
body: " I am 27417\n Dad is 27417\n"
full_name: Process::ppid
is_singleton: true
name: ppid
params: |
Process.ppid => fixnum
visibility: public