D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Process
/
Status
/
Filename :
exitstatus-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the least significant eight bits of the return code of <em>stat</em>. Only available if <tt>exited?</tt> is <tt>true</tt>. - !ruby/struct:SM::Flow::VERB body: " fork { } #=> 26572\n Process.wait #=> 26572\n $?.exited? #=> true\n $?.exitstatus #=> 0\n\n fork { exit 99 } #=> 26573\n Process.wait #=> 26573\n $?.exited? #=> true\n $?.exitstatus #=> 99\n" full_name: Process::Status#exitstatus is_singleton: false name: exitstatus params: | stat.exitstatus => fixnum or nil visibility: public