Current Path : /usr/local/share/ri/1.8/system/Process/Status/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Process/Status/exitstatus-i.yaml |
--- !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