2件ヒット
[1-2件を表示]
(0.010秒)
キーワード
-
$ CHILD _ STATUS (1) -
$ PROCESS _ ID (1)
検索結果
-
Kernel
$ $ PROCESS _ ID -> Integer (9310.0) -
$$ の別名
...$$ の別名
require "English"
p sprintf("something%s", $PID) #=> "something5543" など... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (310.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...