24件ヒット
[1-24件を表示]
(0.014秒)
別のキーワード
検索結果
-
Rake
:: Task # execute(args = nil) (6103.0) -
自身に関連付けられているアクションを実行します。
自身に関連付けられているアクションを実行します。 -
FileUtils
# sh(*cmd) {|result , status| . . . } (15.0) -
与えられたコマンドを実行します。
...rnel.#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, Ker...