578件ヒット
[1-100件を表示]
(0.027秒)
ライブラリ
- ビルトイン (208)
- fileutils (12)
- rake (12)
-
rubygems
/ config _ file (24) -
rubygems
/ source _ info _ cache (48) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (42) - syslog (36)
- timeout (21)
クラス
- Dir (72)
-
File
:: Stat (12) -
Gem
:: ConfigFile (24) -
Gem
:: SourceInfoCache (48) - IO (12)
- Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (42) - SystemCallError (36)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - > (6)
- >> (6)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 6 . 0 (7) -
OPERATING
_ SYSTEM _ DEFAULTS (12) -
SYSTEM
_ WIDE _ CONFIG _ FILE (12) - Syslog (12)
- Win32ネイティブ版Rubyの互換性問題 (12)
- cat (18)
-
close
_ on _ exec= (12) - echo (18)
- entries (12)
- foreach (24)
- glob (18)
-
latest
_ system _ cache _ file (24) - new (48)
- open (24)
- open! (12)
- out (18)
- pipe? (12)
- rake (12)
- rdoc (12)
- reopen (12)
-
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - sh (12)
- spawn (48)
-
system
_ cache _ file (24) - tee (18)
- timeout (21)
- tsort (12)
- uptodate? (12)
- セキュリティモデル (12)
検索結果
先頭5件
-
Kernel
. # system(command , options={}) -> bool | nil (18142.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...ル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
//emlist[exceptionオプションを指定][ruby]{
system("sad", exception: true) # => Errno::ENOENT (No such file or directory - sad)
system('ruby -e "exit(false)"', exception: true)......# => RuntimeError (Command failed with exit 1: ruby -e "exit(false)")
system('ruby -e "exit(true)"', exception: true) # => true
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # system(env , command , options={}) -> bool | nil (18142.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...ル経由でコマンドを実行][ruby]{
system("echo *") # => true
# fileA fileB fileC ...
//}
//emlist[exceptionオプションを指定][ruby]{
system("sad", exception: true) # => Errno::ENOENT (No such file or directory - sad)
system('ruby -e "exit(false)"', exception: true)......# => RuntimeError (Command failed with exit 1: ruby -e "exit(false)")
system('ruby -e "exit(true)"', exception: true) # => true
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # system(env , program , *args , options={}) -> bool | nil (18122.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...se RuntimeError exception: true が指定されていて、コマンドの終了ステータスが 0 以外のときに発生します。
//emlist[インタプリタから直接コマンドを実行][ruby]{
system("echo", "*") # => true
# *
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Kernel
. # system(program , *args , options={}) -> bool | nil (18122.0) -
引数を外部コマンドとして実行して、成功した時に真を返します。
...se RuntimeError exception: true が指定されていて、コマンドの終了ステータスが 0 以外のときに発生します。
//emlist[インタプリタから直接コマンドを実行][ruby]{
system("echo", "*") # => true
# *
//}
@see Kernel.#`,Kernel.#spawn,Kernel.#exec,system(3)... -
Gem
:: ConfigFile :: SYSTEM _ WIDE _ CONFIG _ FILE -> String (15202.0) -
システム全体の設定ファイルのパスです。
システム全体の設定ファイルのパスです。 -
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (12202.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (12202.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。 -
Gem
:: SourceInfoCache . latest _ system _ cache _ file -> String (12202.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache . system _ cache _ file -> String (12202.0) -
システムキャッシュのファイル名を返します。
システムキャッシュのファイル名を返します。 -
Gem
:: ConfigFile :: OPERATING _ SYSTEM _ DEFAULTS -> {} (9107.0) -
Ruby をパッケージングしている人がデフォルトの設定値をセットするために使用します。
...Ruby をパッケージングしている人がデフォルトの設定値をセットするために使用します。
使用するファイルは rubygems/defaults/operating_system.rb です。...