13件ヒット
[1-13件を表示]
(0.034秒)
検索結果
先頭2件
-
Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () (15202.0) -
@todo
@todo -
Process
. last _ status -> Process :: Status | nil (3107.0) -
カレントスレッドで最後に終了した子プロセスのステータスを返します。
...じです。
Process.wait Process.spawn("ruby", "-e", "exit 13")
Process.last_status # => #<Process::Status: pid 4825 exit 13>
カレントスレッドで子プロセスを実行したことがない場合は nil を返します。
Process.last_status # => nil
@see Process::Status
@...