るりまサーチ

最速Rubyリファレンスマニュアル検索!
33件ヒット [1-33件を表示] (0.023秒)

別のキーワード

  1. _builtin status
  2. openssl status
  3. cgi http_status
  4. getoptlong status_yet
  5. getoptlong status_started

ライブラリ

クラス

モジュール

キーワード

検索結果

FileUtils#sh(*cmd) {|result, status| ... } (18232.0)

与えられたコマンドを実行します。

...el.#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, Kerne...

CGI::HTTP_STATUS -> Hash (6201.0)

HTTP のステータスコードを表すハッシュです。

HTTP のステータスコードを表すハッシュです。

FileUtils#ruby(*args) {|result, status| ... } (107.0)

与えられた引数で Ruby インタプリタを実行します。

...与えられた引数で Ruby インタプリタを実行します。

@param args Ruby インタプリタに与える引数を指定します。

例:
ruby %{-pe '$_.upcase!' <README}

@see Kernel.#sh...