別のキーワード
種類
- 特異メソッド (168)
- モジュール関数 (48)
- インスタンスメソッド (42)
- ライブラリ (12)
- クラス (12)
ライブラリ
- ビルトイン (216)
- mkmf (12)
-
rubygems
/ commands / outdated _ command (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (18)
クラス
- IO (168)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (18)
モジュール
- Kernel (60)
キーワード
- > (6)
- >> (6)
- OutdatedCommand (12)
-
cpp
_ command (12) - popen (168)
-
rubygems
/ commands / outdated _ command (12) - spawn (48)
検索結果
先頭5件
-
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (21219.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
# out(dev = STDOUT , &block) -> () (18219.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) -> () (18219.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")
}
}... -
rubygems
/ commands / outdated _ command (18000.0) -
更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
...更新が必要な Gem パッケージの一覧を出力するためのライブラリです。
Usage: gem outdated [options]
Options:
--platform PLATFORM 指定されたプラットフォームに関する情報を表示します
Local/Remote Options:
-l, --local... -
Gem
:: Commands :: OutdatedCommand (15000.0) -
更新が必要な Gem パッケージの一覧を出力するためのクラスです。
更新が必要な Gem パッケージの一覧を出力するためのクラスです。 -
Kernel
# cpp _ command(outfile , opt = "") -> String (6201.0) -
実際にプリプロセッサを実行する際に使用するコマンドを返します。
...実際にプリプロセッサを実行する際に使用するコマンドを返します。
@param outfile 出力ファイルの名前を指定します。
@param opt プリプロセッサに与える追加のコマンドライン引数を指定します。
@see RbConfig.expand... -
Kernel
. # spawn(env , program , *args , options={}) -> Integer (280.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...数が削除(unsetenv(3))されます。
//emlist[例][ruby]{
# FOO を BAR にして BAZ を削除する
pid = spawn({"FOO"=>"BAR", "BAZ"=>nil}, command)
//}
親プロセスは Process.#waitpid で子プロセスの終了を待ち合わせるか
もしくは Process.#detach で子プロセスを......ダイレクトを実現できます。
: :close_others
これを true に設定すると
リダイレクトされていない、0(stdin), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
true がデフォルトです。
=== option引数によるリ......ファイルデスクリプタを表すためには、以下が利用できます。
* :in 標準入力, ファイルデスクリプタ0
* :out 標準出力, ファイルデスクリプタ1
* :err 標準エラー出力, ファイルデスクリプタ2
* 整数 指定した整数が表す......ダイレクトを実現できます。
: :close_others
これを true に設定すると
リダイレクトされていない、0(stdin), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
false がデフォルトです。
: :exception
Kernel.#syste... -
Kernel
. # spawn(program , *args) -> Integer (280.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...数が削除(unsetenv(3))されます。
//emlist[例][ruby]{
# FOO を BAR にして BAZ を削除する
pid = spawn({"FOO"=>"BAR", "BAZ"=>nil}, command)
//}
親プロセスは Process.#waitpid で子プロセスの終了を待ち合わせるか
もしくは Process.#detach で子プロセスを......ダイレクトを実現できます。
: :close_others
これを true に設定すると
リダイレクトされていない、0(stdin), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
true がデフォルトです。
=== option引数によるリ......ファイルデスクリプタを表すためには、以下が利用できます。
* :in 標準入力, ファイルデスクリプタ0
* :out 標準出力, ファイルデスクリプタ1
* :err 標準エラー出力, ファイルデスクリプタ2
* 整数 指定した整数が表す......ダイレクトを実現できます。
: :close_others
これを true に設定すると
リダイレクトされていない、0(stdin), 1(stdout), 2(stderr) 以外の
ファイルデスクリプタをすべて閉じます。
false がデフォルトです。
: :exception
Kernel.#syste... -
Kernel
. # spawn(command , options={}) -> Integer (160.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command コマンドを文字列で指定... -
Kernel
. # spawn(env , command , options={}) -> Integer (160.0) -
引数を外部コマンドとして実行しますが、生成した 子プロセスの終了を待ち合わせません。生成した子プロセスのプロセスIDを返します。
...数の解釈
この形式では command が shell のメタ文字
//emlist{
* ? {} [] <> () ~ & | \ $ ; ' ` " \n
//}
を含む場合、shell 経由で実行されます。
そうでなければインタプリタから直接実行されます。
@param command コマンドを文字列で指定...