4件ヒット
[1-4件を表示]
(0.018秒)
種類
- インスタンスメソッド (3)
- 特異メソッド (1)
ライブラリ
- shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) -
shell
/ system-command (1)
クラス
- Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
Shell
:: SystemCommand (1)
検索結果
先頭4件
-
Shell
:: SystemCommand . new(sh , command , *opts) (63304.0) -
@todo
@todo
@param sh
@param command
@param opts -
Shell
# system(command , *opts) -> Shell :: SystemCommand (322.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 (322.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 (322.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