種類
ライブラリ
- ビルトイン (690)
- etc (12)
- irb (24)
-
irb
/ cmd / help (12) -
irb
/ context (24) -
irb
/ extend-command (12) - monitor (60)
-
net
/ telnet (2) - open3 (60)
- openssl (12)
- optparse (48)
- pty (24)
- rake (12)
- readline (12)
-
rubygems
/ exceptions (12) -
shell
/ process-controller (6) - timeout (21)
- win32ole (24)
クラス
- Fiber (18)
- IO (168)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) - LocalJumpError (24)
- Monitor (36)
- OptionParser (36)
-
PTY
:: ChildExited (12) -
Process
:: Status (48) -
Shell
:: ProcessController (6) - SystemExit (36)
- Thread (84)
- WIN32OLE (12)
-
WIN32OLE
_ TYPE (12)
モジュール
- Etc (12)
- FileUtils (12)
- IRB (24)
-
IRB
:: ExtendCommandBundle (12) - Kernel (124)
- MonitorMixin (24)
- ObjectSpace (24)
- Open3 (60)
- Process (104)
- Readline (12)
- Signal (24)
- Timeout (21)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - >> (12)
- ChildExited (12)
- Context (12)
- Interrupt (12)
-
NEWS for Ruby 2
. 2 . 0 (11) - OCSP (12)
- OptionParser (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Ruby用語集 (12)
-
SC
_ ATEXIT _ MAX (12) - Status (12)
- SystemExit (12)
- SystemExitException (12)
- Telnet (2)
-
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (6) - abort (24)
-
at
_ exit (12) - capture2e (12)
- capture3 (12)
-
define
_ finalizer (24) - detach (12)
- enter (12)
- execute (12)
- exit! (24)
-
exit
_ value (12) - exited? (12)
- exitstatus (12)
- fork (24)
- getoptlong (12)
- irb (12)
-
irb
_ at _ exit (12) -
irb
_ exit (24) - kill (24)
-
last
_ status (8) -
localjump
_ exitstatus (12) -
mon
_ enter (18) -
mon
_ exit (18) - new (12)
-
ole
_ respond _ to? (12) -
on
_ tail (12) - optparse (12)
- pass (12)
- pipeline (12)
-
pipeline
_ r (24) - popen (168)
- progids (12)
- raise (18)
-
rb
_ ensure (12) -
rb
_ exec _ end _ proc (12) -
rb
_ exit (12) -
rb
_ f _ at _ exit (12) -
rb
_ f _ exit (12) -
rb
_ gc _ call _ finalizer _ at _ exit (12) -
rb
_ memerror (12) -
rb
_ thread _ exit (12) -
rb
_ thread _ restore _ context (12) - readline (12)
- reason (12)
-
ruby 1
. 6 feature (12) - separator (12)
- sh (12)
-
stack
_ extend (12) - status (36)
- success? (12)
- system (28)
- terminate (12)
- throw (12)
- timeout (21)
-
to
_ i (12) - trap (24)
- ver (12)
- wait (12)
- wait2 (12)
- waitall (12)
- waitpid (12)
- waitpid2 (12)
- セキュリティモデル (2)
- 制御構造 (12)
- 終了処理 (12)
検索結果
先頭2件
-
IO
. popen(env = {} , command , mode = "r" , opt={}) -> IO (1.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
... -
IO
. popen(env = {} , command , mode = "r" , opt={}) {|f| . . . } -> object (1.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
サブプロセスを実行し、そのプロセスの標準入出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2通りあります。文字列を指定する場合と配列を指定する場合です。
文字列の場合は、シェルを経由して子プロセスを実行し、
配列の場合は、シェルを経由せずに子プロセスを実行します。
...