Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > class Process::Status > pid
pid -> Integer
終了したプロセスのプロセス ID を返します。