るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.025秒)
トップページ > クエリ:Kernel[x] > クエリ:$CHILD_STATUS[x]

別のキーワード

  1. kernel $child_status
  2. kernel $error_info
  3. kernel $load_path
  4. kernel $process_id
  5. kernel $match

ライブラリ

モジュール

検索結果

Kernel$$CHILD_STATUS -> Process::Status | nil (39107.0)

$? の別名

...$? の別名

require "English"

out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`

if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end...