るりまサーチ

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

別のキーワード

  1. pathname each_child
  2. dir each_child
  3. _builtin each_child
  4. etc sc_child_max
  5. parent each_child

ライブラリ

モジュール

検索結果

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