ライブラリ
- ビルトイン (396)
- benchmark (132)
- fileutils (12)
- matrix (12)
- mkmf (12)
-
net
/ ftp (12) - pty (48)
- rake (36)
- readline (12)
- resolv (12)
-
rexml
/ document (108) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ config _ file (24) -
rubygems
/ defaults (12) -
rubygems
/ exceptions (12) -
rubygems
/ source _ info _ cache (48) - shell (102)
-
shell
/ command-processor (66) -
shell
/ filter (84) -
shell
/ system-command (102) - socket (72)
- syslog (36)
- timeout (21)
-
win32
/ resolv (12) - win32ole (36)
- zlib (12)
クラス
-
Benchmark
:: Tms (72) - Dir (72)
-
File
:: Stat (12) -
Gem
:: ConfigFile (24) -
Gem
:: SourceInfoCache (48) - IO (12)
- Matrix (12)
-
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (36) -
Rake
:: Application (12) - Shell (102)
-
Shell
:: CommandProcessor (66) -
Shell
:: Filter (84) -
Shell
:: SystemCommand (96) - Socket (36)
- String (12)
- SystemCallError (60)
- SystemExit (36)
- WIN32OLE (24)
-
WIN32OLE
_ TYPELIB (12) -
Win32
:: Resolv (12)
モジュール
- Benchmark (60)
- FileUtils (24)
- Gem (12)
- Kernel (168)
- PTY (48)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36) - Rake (12)
- Readline (12)
-
Socket
:: Constants (36) - Syslog (24)
- Timeout (21)
- Zlib (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - < (6)
- === (12)
- > (6)
- >> (6)
-
AF
_ SYSTEM (24) -
EAI
_ SYSTEM (24) - Entity (12)
- FORMAT (24)
- Hosts (12)
-
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) -
OS
_ ZSYSTEM (12) -
PF
_ SYSTEM (24) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
-
SYSTEM
_ WIDE _ CONFIG _ FILE (12) - Syslog (12)
- SystemCallError (12)
- SystemCommand (6)
- SystemExit (12)
- 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 _ path (6) -
default
_ system _ path= (6) -
default
_ system _ source _ cache _ dir (12) - doctype (24)
- each (6)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- entries (12)
- errno (12)
- exec (48)
- external (12)
-
external
_ id (12) -
find
_ system _ command (18) - flush (6)
- foreach (24)
- format (12)
-
get
_ hosts _ path (12) - getpty (24)
- glob (18)
- input= (6)
-
install
_ system _ commands (12) - kill (6)
-
latest
_ system _ cache _ file (24) - locale (12)
- measure (12)
- name (6)
- new (102)
- notationdecl (24)
- notify (12)
-
op
_ dir (12) - open (24)
- open! (12)
- out (18)
- pipe? (12)
- 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) - status (12)
- stime (12)
- success? (12)
- sum (12)
-
super
_ each (6) - system= (12)
-
system
_ cache _ file (24) -
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
- timeout (21)
-
to
_ a (18) -
to
_ s (6) - transact (18)
- tsort (12)
-
unalias
_ command (6) -
undef
_ system _ command (12) - uptodate? (12)
- wait? (6)
- xsystem (12)
- | (6)
- セキュリティモデル (12)
- 環境変数 (12)
検索結果
-
Kernel
. # exec(env , command , options={}) -> () (1.0) -
引数で指定されたコマンドを実行します。
引数で指定されたコマンドを実行します。
プロセスの実行コードはそのコマンド(あるいは shell)になるので、
起動に成功した場合、このメソッドからは戻りません。
=== 引数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command コマンドを文字列で指定します。
@param env 更新する環境変数を表す Hash
@param options...