るりまサーチ

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

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell cd
  5. shell debug

ライブラリ

モジュール

検索結果

Process.exec(command, *args) -> () (18269.0)

カレントプロセスを与えられた外部コマンドで置き換えます。

...合、command shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。

引数が複数与えられた場合、第 2 引数以降は command に直接...
...場合、command はサブシェル経由で実行されます。
そうでない場合、command exec(2) を使用して実行されるので元の
プログラムからいくつかの環境を引き継ぎます。

@param command 実行する外部コマンド。

@param args command に渡す...
...引数。

exec
"echo *" # echoes list of files in current directory
# never get here


exec
"echo", "*" # echoes an asterisk
# never get here...