1492件ヒット
[1-100件を表示]
(0.120秒)
ライブラリ
- ビルトイン (324)
- benchmark (132)
- fileutils (12)
- matrix (12)
- mkmf (12)
- pty (48)
- rake (36)
- readline (12)
-
rexml
/ document (96) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ config _ file (24) -
rubygems
/ defaults (12) -
rubygems
/ exceptions (12) -
rubygems
/ source _ info _ cache (48) - shell (66)
-
shell
/ command-processor (66) -
shell
/ filter (48) -
shell
/ system-command (102) - socket (72)
- syslog (24)
- timeout (21)
-
win32
/ resolv (12) - win32ole (36)
クラス
-
Benchmark
:: Tms (72) - Dir (72)
-
Gem
:: ConfigFile (24) -
Gem
:: SourceInfoCache (48) - IO (12)
- Matrix (12)
-
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: NotationDecl (36) -
Rake
:: Application (12) - Shell (66)
-
Shell
:: CommandProcessor (66) -
Shell
:: Filter (48) -
Shell
:: SystemCommand (96) - Socket (36)
- String (12)
- SystemCallError (60)
- SystemExit (12)
- WIN32OLE (24)
-
WIN32OLE
_ TYPELIB (12) -
Win32
:: Resolv (12)
モジュール
- Benchmark (60)
- FileUtils (24)
- Gem (12)
- Kernel (144)
- PTY (48)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36) - Rake (12)
- Readline (12)
-
Socket
:: Constants (36) - Syslog (24)
- Timeout (21)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - < (6)
- === (12)
-
AF
_ SYSTEM (24) -
EAI
_ SYSTEM (24) - Entity (12)
- FORMAT (24)
-
LOCALE
_ SYSTEM _ DEFAULT (12) - Mac OS X (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 6 . 0 (7) - NotationDecl (12)
-
OPERATING
_ SYSTEM _ DEFAULTS (12) -
PF
_ SYSTEM (24) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
-
SYSTEM
_ WIDE _ CONFIG _ FILE (12) - SystemCallError (12)
- SystemCommand (6)
- SystemExitException (12)
- SystemStackError (12)
- Win32ネイティブ版Rubyの互換性問題 (12)
- ` (12)
- active? (6)
-
alias
_ command (6) - application= (12)
- benchmark (12)
- bm (12)
- bmbm (12)
- cat (18)
-
close
_ on _ exec= (12) - command (6)
- cstime (12)
-
def
_ system _ command (12) -
default
_ system _ source _ cache _ dir (12) - doctype (24)
- each (6)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- entries (12)
- errno (12)
- exec (48)
-
external
_ id (12) -
find
_ system _ command (18) - flush (6)
- foreach (24)
- format (12)
-
get
_ hosts _ path (12) - getpty (24)
- glob (6)
- input= (6)
-
install
_ system _ commands (12) - kill (6)
-
latest
_ system _ cache _ file (24) - locale (12)
- measure (12)
- name (6)
- new (90)
- notationdecl (24)
- notify (12)
-
op
_ dir (12) - open (24)
- open! (12)
- out (18)
- public (12)
- rake (12)
- rdoc (12)
- readline (12)
- reopen (12)
-
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - sh (12)
-
shell
/ system-command (6) - spawn (72)
- start (6)
-
start
_ export (6) -
start
_ import (6) - stime (12)
- success? (12)
- sum (12)
-
super
_ each (6) - system= (12)
-
system
_ cache _ file (24) - tee (6)
- terminate (6)
- timeout (21)
-
to
_ a (12) - transact (18)
-
unalias
_ command (6) -
undef
_ system _ command (12) - uptodate? (12)
- wait? (6)
- xsystem (12)
- | (6)
- セキュリティモデル (12)
- 環境変数 (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (21419.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... -
REXML
:: DocType # system -> String | nil (21131.0) -
DTD のシステム識別子を返します。
...ocument'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.public # => "-//W3C//DTD XHTML 1.0 Strict......//EN"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doctype.public # => nil
//}... -
REXML
:: NotationDecl # system -> String | nil (21101.0) -
システム識別子(URI)を返します。
システム識別子(URI)を返します。
宣言がシステム識別子を含まない場合は nil を返します。 -
Shell
# system(command , *opts) -> Shell :: SystemCommand (18419.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 (18419.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... -
Kernel
. # system(command , options={}) -> bool | nil (18236.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...の終了ステータスの場合は false を返します。
コマンドを実行できなかった場合は nil を返します。
options で :exception に true を指定することで、
nil や false を返す代わりに例外を発生するようにできます。
終了ステータス......数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command command コマンドを文字列で......or exception: true が指定されていて、コマンドの終了ステータスが 0 以外のときに発生します。
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
//emlist[exceptionオプションを指定][ruby]{
system("sa... -
Kernel
. # system(env , command , options={}) -> bool | nil (18236.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...の終了ステータスの場合は false を返します。
コマンドを実行できなかった場合は nil を返します。
options で :exception に true を指定することで、
nil や false を返す代わりに例外を発生するようにできます。
終了ステータス......数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command command コマンドを文字列で......or exception: true が指定されていて、コマンドの終了ステータスが 0 以外のときに発生します。
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
//emlist[exceptionオプションを指定][ruby]{
system("sa... -
Kernel
. # system(command , options={}) -> bool | nil (18218.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command command コマンドを文字列で......指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # system(env , command , options={}) -> bool | nil (18218.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command command コマンドを文字列で......指定します。
@param env 更新する環境変数を表す Hash
@param options オプションパラメータ Hash
//emlist[シェル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Shell
:: CommandProcessor . def _ system _ command(command , path = command) -> () (15401.0) -
@todo
...@todo
与えられたコマンドをメソッドとして定義します。
@param command 定義したいコマンドを指定します。
@param path command のパスを指定します。省略すると環境変数 PATH から command を探します。... -
Shell
:: CommandProcessor # find _ system _ command(command) (15301.0) -
@todo
@todo -
Shell
:: CommandProcessor . undef _ system _ command(command) -> self (15301.0) -
与えられたコマンドを削除します。
...与えられたコマンドを削除します。
@param command 削除したいコマンド名を指定します。... -
Gem
:: ConfigFile :: SYSTEM _ WIDE _ CONFIG _ FILE -> String (15201.0) -
システム全体の設定ファイルのパスです。
システム全体の設定ファイルのパスです。 -
Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () (15201.0) -
全てのシステムコマンドをメソッドとして定義します。
全てのシステムコマンドをメソッドとして定義します。
既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。
@param prefix プレフィクスを指定します。