792件ヒット
[1-100件を表示]
(0.145秒)
ライブラリ
-
irb
/ cmd / pushws (12) - optparse (96)
- rake (12)
-
rubygems
/ command (60) - shell (60)
-
shell
/ builtin-command (12) -
shell
/ command-processor (324) -
shell
/ filter (96) -
shell
/ process-controller (30) -
shell
/ system-command (90)
クラス
-
Gem
:: Command (60) -
IRB
:: ExtendCommand :: PushWorkspace (12) - OptionParser (96)
- Shell (60)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (324) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (90)
モジュール
- FileUtils (12)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (18)
- active? (12)
-
add
_ schedule (6) - append (6)
- atime (6)
- basename (6)
- begins? (12)
- cat (18)
-
check
_ point (6) - chmod (6)
- chown (6)
- concat (6)
- ctime (6)
- defaults (12)
- defaults= (12)
- delete (6)
- directory? (6)
- dirname (6)
- each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - execute (12)
- exist? (6)
- exists? (6)
-
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
- glob (18)
- identical? (6)
- input= (6)
- join (6)
- kill (6)
-
kill
_ job (6) - lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- on (96)
- open (6)
- out (18)
- readlink (6)
- rename (6)
- rm (6)
- rmdir (6)
- setgid? (6)
- setuid? (6)
- sfork (6)
- size (6)
- size? (6)
- socket? (6)
- split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
-
super
_ each (6) - system (18)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (6)
- unlink (6)
- utime (6)
- wait? (12)
-
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - | (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # command -> String (27202.0) -
@todo
...@todo
コマンド名を返します。... -
FileUtils
# sh(*cmd) {|result , status| . . . } (21226.0) -
与えられたコマンドを実行します。
...参照してください。
例:
sh %{ls -ltr}
sh 'ls', 'file with spaces'
# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end
@see Kernel.#exec, Kernel.#system... -
Shell
:: SystemCommand # terminate -> () (21201.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # find _ system _ command(command) (18303.0) -
@todo
...@todo... -
Shell
:: Filter # find _ system _ command(command) (18303.0) -
@todo
...@todo... -
Shell
# find _ system _ command(command) (15303.0) -
@todo
...@todo... -
IRB
:: ExtendCommand :: PushWorkspace # execute(*obj) -> [IRB :: WorkSpace] (15101.0) -
UNIX シェルコマンドの pushd と同じです。
...UNIX シェルコマンドの pushd と同じです。
@param obj IRB::WorkSpace オブジェクトを指定します。複数指定した
場合は先頭のオブジェクトのみが設定されます。... -
Shell
:: BuiltInCommand # active? -> true (15101.0) -
@todo
...@todo... -
Shell
:: SystemCommand # flush -> () (15101.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (12560.0) -
command を実行する.
...
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
S......hell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (12560.0) -
command を実行する.
...
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
S......hell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: CommandProcessor # tee(file) -> Shell :: Filter (12319.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
:: Filter # tee(file) -> Shell :: Filter (12319.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
:: ProcessController # terminate _ job(command) (12308.0) -
指定されたコマンドを終了します。
...指定されたコマンドを終了します。
@param command コマンドを指定します。... -
Shell
:: CommandProcessor # utime(atime , mtime , *filename) -> Integer (12301.0) -
File クラスにある同名のクラスメソッドと同じです.
...filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime...