관리-도구
편집 파일: 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