PHP 8.2.31
Preview: cdesc-Status.yaml Size: 2.16 KB
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Process/Status/cdesc-Status.yaml

--- !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 }   #=&gt; 26557\n   Process.wait       #=&gt; 26557\n   $?.class           #=&gt; Process::Status\n   $?.to_i            #=&gt; 25344\n   $? &gt;&gt; 8            #=&gt; 99\n   $?.stopped?        #=&gt; false\n   $?.exited?         #=&gt; true\n   $?.exitstatus      #=&gt; 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

Directory Contents

Dirs: 0 × Files: 17

Name Size Perms Modified Actions
321 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
479 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
492 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
2.16 KB lrw-r--r-- 2023-07-26 13:48:00
Edit Download
365 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
372 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
710 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
272 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
428 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
334 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
399 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
356 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
395 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
387 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
551 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
555 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download
279 B lrw-r--r-- 2023-07-26 13:48:00
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).