るりまサーチ

最速Rubyリファレンスマニュアル検索!
12件ヒット [1-12件を表示] (0.071秒)
トップページ > クエリ:t[x] > クエリ:ruby[x] > モジュール:Kernel[x] > 種類:変数[x] > ライブラリ:English[x] > クエリ:$CHILD_STATUS[x]

別のキーワード

  1. kernel $error_info
  2. kernel $child_status
  3. kernel $load_path
  4. kernel $sitelibdir
  5. kernel $0

検索結果

Kernel$$CHILD_STATUS -> Process::Status | nil (24317.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...