44件ヒット
[1-44件を表示]
(0.096秒)
種類
- インスタンスメソッド (22)
- 関数 (11)
- 変数 (11)
クラス
-
Process
:: Status (11)
キーワード
-
$ ? (11) -
localjump
_ exitstatus (11) - sh (11)
検索結果
先頭4件
-
static VALUE localjump
_ exitstatus(VALUE exc) (32300.0) -
-
Process
:: Status # exitstatus -> Integer | nil (18201.0) -
exited? が真の場合プロセスが返した終了ステータスの整数を、そ うでない場合は nil を返します。
...exited? が真の場合プロセスが返した終了ステータスの整数を、そ
うでない場合は nil を返します。... -
FileUtils
# sh(*cmd) {|result , status| . . . } (3106.0) -
与えられたコマンドを実行します。
...l.#exec を参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end
@see Kernel.#exec, Kernel... -
Kernel
$ $ ? -> Process :: Status | nil (3106.0) -
このスレッドで最後に終了した子プロセスのステータスです。
...了した子プロセスのステータスです。
Process::Status オブジェクトが入っています。
子プロセスの終了時ステータスは Process::Status#exitstatus で得られます。
この変数はスレッドローカルで読み取り専用です。
@see Process.#wait......のステータスです。
Process::Status オブジェクトが入っています。
子プロセスの終了時ステータスは Process::Status#exitstatus で得られます。
この変数はスレッドローカルで読み取り専用です。
@see Process.#wait
@see Process.last_status...