6件ヒット
[1-6件を表示]
(0.010秒)
トップページ > クラス:Shell::CommandProcessor
>
:インスタンスメソッド
>
:commandprocessor
>
:shell/command-processor
>
:out
![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)

![条件を削除 [x]](/images/drop-condition-icon.png)
別のキーワード
検索結果
-
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (21217.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")
}
}...