るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.036秒)
トップページ > クエリ:nil[x] > クエリ:pipe_open[x]

別のキーワード

  1. io pipe
  2. _builtin pipe
  3. _builtin pipe?
  4. etc pc_pipe_buf
  5. pathname pipe?

検索結果

static VALUE pipe_open(char *pname, char *mode) (38106.0)

popen(3) を実行します。引数pname、modeは popen(3) の 引数に対応します。

...を生成した IO の出力につなぎます。

mode に "+" が含まれれば、子プロセスの標準入出力を
生成した IO の入出力につなぎます。

生成した IO オブジェクトを返します。
pnameが "-" であれば、子プロセスには、nil を返します...