48件ヒット
[1-48件を表示]
(0.057秒)
ライブラリ
- ビルトイン (48)
クラス
-
Process
:: Status (36) - SystemExit (12)
キーワード
- >> (12)
- exitstatus (12)
- status (12)
-
to
_ i (12)
検索結果
先頭4件
-
Process
:: Status # exitstatus -> Integer | nil (6202.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
...
exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。... -
SystemExit
# status -> Integer (3120.0) -
例外オブジェクトに保存された終了ステータスを返します。
...します。
終了ステータスは Kernel.#exit や SystemExit.new などで設定されます。
例:
begin
exit 1
rescue SystemExit => err
p err.status # => 1
end
begin
raise SystemExit.new(1, "dummy exit")
rescue SystemExit => err
p err.status # => 1
end... -
Process
:: Status # >>(num) -> Integer (108.0) -
self.to_i >> num と同じです。
...self.to_i >> num と同じです。
@param num 整数を指定します。
fork { exit 99 } #=> 26563
Process.wait #=> 26563
$?.to_i #=> 25344
$? >> 8 #=> 99... -
Process
:: Status # to _ i -> Integer (108.0) -
C 言語での終了ステータス表現の整数を返します。
...C 言語での終了ステータス表現の整数を返します。
多くのシステムの実装では、この値の上位 8 bit に exit(2)
に渡した終了ステータスが、下位 8 bit にシグナル等で終了した等の情
報が入っています。...