552件ヒット
[201-300件を表示]
(0.089秒)
ライブラリ
- ビルトイン (168)
-
bigdecimal
/ math (12) - open3 (108)
- pty (24)
- syslog (48)
-
win32
/ registry (192)
モジュール
キーワード
- CloseKey (12)
- CreateKey (12)
- DeleteKey (12)
- DeleteValue (12)
- EnumKey (12)
- EnumValue (12)
- FlushKey (12)
- OpenKey (12)
- QueryInfoKey (12)
- QueryValue (12)
- SetValue (12)
- check (12)
- detach (12)
- getpgid (12)
- getpty (12)
- getsid (12)
- kill (12)
- open (24)
- open! (12)
- packdw (12)
- packqw (12)
- pid (12)
- pipe? (12)
- pipeline (12)
-
pipeline
_ r (24) -
pipeline
_ rw (24) -
pipeline
_ start (24) -
pipeline
_ w (24) - ppid (12)
- printf (24)
- reopen (12)
- setpgid (12)
- spawn (12)
- unpackdw (12)
- unpackqw (12)
- wait (12)
- wait2 (12)
- waitpid (12)
- waitpid2 (12)
検索結果
先頭5件
-
Open3
. # pipeline _ w(*cmds) -> [IO , [Thread]] (6201.0) -
指定したコマンドのリストをパイプで繋いで順番に実行します。最初の コマンドの標準入力に書き込む事ができます。
...できます。
@param cmds 実行するコマンドのリストを指定します。それぞれのコマンドは
以下のように String か Array で指定します。
commandline にはコマンド全体(例. "nroff -man")を表す
String を指定しま......名を表す String を指定します。
1、2、3 は shell 経由で実行されます。
(1) commandline
(2) [commandline, options]
(3) [env, commandline, options]
(4) [env, cmdname, arg1, arg2, ..., options]
(5) [env, [cmdname, argv0], arg1, ..., options]
@return ブロック......た場合は最初に実行するコマンドの標準入力、
実行したプロセスを待つためのスレッドの配列を配列で返します。
例:
require "open3"
Open3.pipeline_w("bzip2 -c", :out=>"/tmp/hello.bz2") {|w, ts|
w.puts "hello"
}
@see Open3.#popen3... -
Kernel
. # printf(format , *arg) -> nil (6119.0) -
C 言語の printf と同じように、format に従い引数を文字列に変 換して port に出力します。
...C 言語の printf と同じように、format に従い引数を文字列に変
換して port に出力します。
port を省略した場合は標準出力 $stdout に出力します。
引数を 1 つも指定しなければ何もしません。
Ruby における format 文字列の拡張......は
Kernel.#sprintfの項を参照してください。
@param port 出力先になるIO のサブクラスのインスタンスです。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@raise ArgumentError port を指定したのに format......す。
@raise IOError port が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
//emlist[例][ruby]{
printf("calculate%3s%-6s%.15f", 'PI', '...', Math::PI)
#=> calculate PI... 3.141592653589793
printf("%d... -
Kernel
. # printf(port , format , *arg) -> nil (6119.0) -
C 言語の printf と同じように、format に従い引数を文字列に変 換して port に出力します。
...C 言語の printf と同じように、format に従い引数を文字列に変
換して port に出力します。
port を省略した場合は標準出力 $stdout に出力します。
引数を 1 つも指定しなければ何もしません。
Ruby における format 文字列の拡張......は
Kernel.#sprintfの項を参照してください。
@param port 出力先になるIO のサブクラスのインスタンスです。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@raise ArgumentError port を指定したのに format......す。
@raise IOError port が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
//emlist[例][ruby]{
printf("calculate%3s%-6s%.15f", 'PI', '...', Math::PI)
#=> calculate PI... 3.141592653589793
printf("%d... -
FileTest
. # pipe?(file) -> bool (6113.0) -
指定したファイルがパイプである時に真を返します。そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
...。
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file が既に close されていた場合に発生します。
例:
r, w = IO.pipe
FileTest.pipe?(r) # => true
FileTest.pipe?(w) # => true... -
Win32
:: Registry :: API . # OpenKey(hkey , name , opt , desired) (6101.0) -
@todo
@todo -
Win32
:: Registry :: API . # check(result) (6101.0) -
@todo
@todo -
Win32
:: Registry :: API . # CloseKey(hkey) (6001.0) -
@todo
@todo -
Win32
:: Registry :: API . # DeleteKey(hkey , name) (6001.0) -
@todo
@todo -
Win32
:: Registry :: API . # DeleteValue(hkey , name) (6001.0) -
@todo
@todo