📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 09:10:02
📂
/ (Root)
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Process
/
Status
📍 /opt/alt/ruby27/share/ri/system/Process/Status
🔄 Refresh
✏️
Editing: cdesc-Status.ri
Read Only
U:RDoc::NormalClass[iI"Status:ETI"Process::Status;TI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[ I"9Process::Status encapsulates the information on the ;TI"Dstatus of a running or terminated system process. The built-in ;TI"3variable <code>$?</code> is either +nil+ or a ;TI"Process::Status object.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[ I""fork { exit 99 } #=> 26557 ;TI""Process.wait #=> 26557 ;TI",$?.class #=> Process::Status ;TI""$?.to_i #=> 25344 ;TI"$? >> 8 #=> 99 ;TI""$?.stopped? #=> false ;TI"!$?.exited? #=> true ;TI"$?.exitstatus #=> 99 ;T:@format0o; ;[I"BPosix systems record information on processes using a 16-bit ;TI"Binteger. The lower bits record the process status (stopped, ;TI"Fexited, signaled) and the upper bits possibly contain additional ;TI"Ginformation (for example the program's return code in the case of ;TI"Gexited processes). Pre Ruby 1.8, these bits were exposed directly ;TI";to the Ruby program. Ruby now encapsulates these in a ;TI"8Process::Status object. To maximize compatibility, ;TI"Dhowever, these objects retain a bit-oriented interface. In the ;TI"Gdescriptions that follow, when we talk about the integer value of ;TI"2_stat_, we're referring to this 16 bit value.;T: @fileI"process.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[I"&;TI"process.c;T[I"==;T@D[I">>;T@D[I"coredump?;T@D[I"exited?;T@D[I"exitstatus;T@D[I"inspect;T@D[I"pid;T@D[I"signaled?;T@D[I" stopped?;T@D[I"stopsig;T@D[I" success?;T@D[I"termsig;T@D[I" to_i;T@D[I" to_s;T@D[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"process.c;TI"Process;TcRDoc::NormalModule
💾 Save Changes
❌ Cancel