630件ヒット
[401-500件を表示]
(0.114秒)
ライブラリ
- ビルトイン (72)
- benchmark (48)
- matrix (12)
- mkmf (12)
-
net
/ ftp (12) - rake (24)
-
rexml
/ document (72) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ source _ info _ cache (24) - shell (60)
-
shell
/ command-processor (48) -
shell
/ filter (84) -
shell
/ system-command (90)
クラス
-
Benchmark
:: Tms (48) -
File
:: Stat (12) -
Gem
:: SourceInfoCache (24) - IO (12)
- Matrix (12)
-
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (24) -
Rake
:: Application (12) - Shell (60)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (84) -
Shell
:: SystemCommand (90) - String (12)
- SystemCallError (12)
- SystemExit (24)
モジュール
- FileUtils (12)
- Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (18)
-
close
_ on _ exec= (12) - command (6)
- cstime (12)
- doctype (24)
- each (6)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- errno (12)
- external (12)
-
external
_ id (12) -
find
_ system _ command (18) - flush (6)
- format (12)
- glob (18)
- input= (6)
- kill (6)
-
latest
_ system _ cache _ file (12) - name (6)
- notationdecl (24)
- notify (12)
-
op
_ dir (12) - out (18)
- pipe? (12)
- public (12)
- sh (12)
- start (6)
-
start
_ export (6) -
start
_ import (6) - status (12)
- stime (12)
- success? (12)
- sum (12)
-
super
_ each (6) - system= (12)
-
system
_ cache _ file (12) -
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
-
to
_ a (18) -
to
_ s (6) - transact (18)
- wait? (6)
- xsystem (12)
- | (6)
検索結果
先頭5件
-
REXML
:: Entity # external -> String | nil (17.0) -
実体が外部実体(external entity)宣言である場合は "SYSTEM" もしくは "PUBLIC" という文字列を返します。
...実体が外部実体(external entity)宣言である場合は
"SYSTEM" もしくは "PUBLIC" という文字列を返します。
内部実体(internal entity)宣言である場合には nil を返します。... -
Benchmark
:: Tms # format(fmtstr = nil , *args) -> String (13.0) -
self を指定されたフォーマットで整形して返します。
...られます。Benchmark::Tms#utime
: %y
system CPU time で置き換えられます(Mnemonic: y of "s*y*stem")。Benchmark::Tms#stime
: %U
子プロセスの user CPU time で置き換えられます。Benchmark::Tms#cutime
: %Y
子プロセスの system CPU time で置き換えられます... -
Benchmark
:: Tms # to _ a -> Array (13.0) -
6 要素の配列を返します。
...6 要素の配列を返します。
要素は以下の順番で配列に格納されています。
* ラベル
* user CPU time
* system CPU time,
* 子プロセスの user CPU time
* 子プロセスの system CPU time,
* 実経過時間... -
Rake
:: Application # options -> OpenStruct (13.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
...ptions # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_stats=false, load_system=false, nosearch=false, rakelib=["rakelib"], show_all_tasks=false, show_prereqs=false, show_task_pattern=nil, show_tasks=nil, sil... -
Shell
# out(dev = STDOUT , &block) -> () (13.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (13.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
Shell
:: Filter # out(dev = STDOUT , &block) -> () (13.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...ェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|
sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}... -
File
:: Stat # pipe? -> bool (7.0) -
無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
...無名パイプおよび名前つきパイプ(FIFO)の時に真を返します。
//emlist[][ruby]{
system("mkfifo /tmp/pipetest")
p File::Stat.new("/tmp/pipetest").pipe? #=> true
//}... -
FileUtils
# sh(*cmd) {|result , status| . . . } (7.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... -
IO
# close _ on _ exec=(bool) (7.0) -
自身に close-on-exec フラグを設定します。
...cntl(2)
@param bool 自身の close-on-exec フラグを true か false で指定します。
f = open("/dev/null")
f.close_on_exec = true
system("cat", "/proc/self/fd/#{f.fileno}") # cat: /proc/self/fd/3: No such file or directory
f.closed? #=> false
@see IO#close_on_ex... -
RDoc
:: Options # op _ dir -> String (7.0) -
コマンドライン引数の --op オプションで指定したディレクトリを返します。
...コマンドライン引数の --op オプションで指定したディレクトリを返します。
--ri、--ri-site、--ri-system オプションにも影響される事に注意してください。
@return 設定されたディレクトリを文字列で返します。...