282件ヒット
[1-100件を表示]
(0.071秒)
クラス
- Shell (60)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (84) -
Shell
:: SystemCommand (90)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (18)
- command (6)
- each (6)
- echo (18)
-
find
_ system _ command (18) - flush (6)
- glob (18)
- input= (6)
- kill (6)
- name (6)
- notify (12)
- out (18)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
super
_ each (6) -
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- wait? (6)
- | (6)
検索結果
先頭5件
-
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (27421.0) -
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
# system(command , *opts) -> Shell :: SystemCommand (24422.0) -
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 (24421.0) -
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
:: SystemCommand # terminate -> () (18202.0) -
@todo
...@todo... -
Shell
:: Filter # find _ system _ command(command) (15203.0) -
@todo
...@todo... -
Shell
# system _ path -> Array (12217.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# system _ path=(path) (12217.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# find _ system _ command(command) (12204.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # find _ system _ command(command) (12203.0) -
@todo
...@todo... -
Shell
:: Filter # tee(file) -> Shell :: Filter (9208.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: SystemCommand # active? -> bool (9102.0) -
@todo
...@todo... -
Shell
:: SystemCommand # input=(inp) (9102.0) -
@todo
...@todo... -
Shell
:: SystemCommand # notify(*opts) -> String (9102.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (9102.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # start -> () (9102.0) -
@todo
...@todo... -
Shell
:: SystemCommand # start _ export (9102.0) -
@todo
...@todo... -
Shell
:: SystemCommand # start _ import -> () (9102.0) -
@todo
...@todo...