Server IP : 66.29.132.122 / Your IP : 3.17.79.191 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Process/Status/ |
Upload File : |
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: [] comment: - !ruby/struct:SM::Flow::P body: <tt>Process::Status</tt> encapsulates the information on the status of a running or terminated system process. The built-in variable <tt>$?</tt> is either <tt>nil</tt> or a <tt>Process::Status</tt> object. - !ruby/struct:SM::Flow::VERB body: " fork { exit 99 } #=> 26557\n Process.wait #=> 26557\n $?.class #=> Process::Status\n $?.to_i #=> 25344\n $? >> 8 #=> 99\n $?.stopped? #=> false\n $?.exited? #=> true\n $?.exitstatus #=> 99\n" - !ruby/struct:SM::Flow::P body: Posix systems record information on processes using a 16-bit integer. The lower bits record the process status (stopped, exited, signaled) and the upper bits possibly contain additional information (for example the program's return code in the case of exited processes). Pre Ruby 1.8, these bits were exposed directly to the Ruby program. Ruby now encapsulates these in a <tt>Process::Status</tt> object. To maximize compatibility, however, these objects retain a bit-oriented interface. In the descriptions that follow, when we talk about the integer value of <em>stat</em>, we're referring to this 16 bit value. constants: [] full_name: Process::Status includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "&" - !ruby/object:RI::MethodSummary name: == - !ruby/object:RI::MethodSummary name: ">>" - !ruby/object:RI::MethodSummary name: coredump? - !ruby/object:RI::MethodSummary name: exited? - !ruby/object:RI::MethodSummary name: exitstatus - !ruby/object:RI::MethodSummary name: inspect - !ruby/object:RI::MethodSummary name: pid - !ruby/object:RI::MethodSummary name: signaled? - !ruby/object:RI::MethodSummary name: stopped? - !ruby/object:RI::MethodSummary name: stopsig - !ruby/object:RI::MethodSummary name: success? - !ruby/object:RI::MethodSummary name: termsig - !ruby/object:RI::MethodSummary name: to_i - !ruby/object:RI::MethodSummary name: to_int - !ruby/object:RI::MethodSummary name: to_s name: Status superclass: Object