るりまサーチ

最速Rubyリファレンスマニュアル検索!
102件ヒット [101-102件を表示] (0.254秒)
トップページ > クエリ:d[x] > クエリ:def_system_command[x]

別のキーワード

  1. _builtin new
  2. _builtin inspect
  3. _builtin []
  4. _builtin to_s
  5. _builtin each

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 >>

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (106.0)

command を実行する.

...nd を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.d...
...ef_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...
<< < 1 2 >>