Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Open3/cdesc-Open3.yaml |
--- !ruby/object:RI::ClassDescription
attributes: []
class_methods: []
comment:
- !ruby/struct:SM::Flow::P
body: "Open3 grants you access to stdin, stdout, and stderr when running another program. Example:"
- !ruby/struct:SM::Flow::VERB
body: " require "open3"\n include Open3\n\n stdin, stdout, stderr = popen3('nroff -man')\n"
- !ruby/struct:SM::Flow::P
body: "Open3.popen3 can also take a block which will receive stdin, stdout and stderr as parameters. This ensures stdin, stdout and stderr are closed once the block exits. Example:"
- !ruby/struct:SM::Flow::VERB
body: " require "open3"\n\n Open3.popen3('nroff -man') { |stdin, stdout, stderr| ... }\n"
constants: []
full_name: Open3
includes: []
instance_methods:
- !ruby/object:RI::MethodSummary
name: popen3
name: Open3
superclass: