るりまサーチ

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

別のキーワード

  1. systemcommand notify
  2. systemcommand new
  3. systemcommand name
  4. systemcommand each
  5. systemcommand kill

キーワード

検索結果

<< < 1 2 >>

Shell::SystemCommand.new(sh, command, *opts) (3000.0)

@todo

@todo

@param sh

@param command

@param opts

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

command を実行する.

command を実行する.

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

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

使用例:

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

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (101.0)

command を実行する.

command を実行する.

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

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

使用例:

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

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

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

command を実行する.

command を実行する.

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

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

使用例:

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

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