D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Open3
/
Filename :
cdesc-Open3.ri
back
Copy
U:RDoc::NormalModule[iI" Open3:ET@0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"6\Module \Open3 supports creating child processes ;TI"?with access to their $stdin, $stdout, and $stderr streams.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"What's Here;T@o; ;[I"REach of these methods executes a given command in a new process or subshell, ;TI"<or multiple commands in new processes and/or subshells:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o; ;[I"OEach of these methods executes a single command in a process or subshell, ;TI"+accepts a string for input to $stdin, ;TI">and returns string output from $stdout, $stderr, or both:;T@o;;;;[o;;0;[o; ;[I"+Open3.capture2: Executes the command; ;TI"%returns the string from $stdout.;To;;0;[o; ;[I",Open3.capture2e: Executes the command; ;TI"8returns the string from merged $stdout and $stderr.;To;;0;[o; ;[I"+Open3.capture3: Executes the command; ;TI".returns strings from $stdout and $stderr.;T@o;;0;[o; ;[I"OEach of these methods executes a single command in a process or subshell, ;TI";and returns pipes for $stdin, $stdout, and/or $stderr:;T@o;;;;[o;;0;[o; ;[I")Open3.popen2: Executes the command; ;TI"*returns pipes for $stdin and $stdout.;To;;0;[o; ;[I"*Open3.popen2e: Executes the command; ;TI"=returns pipes for $stdin and merged $stdout and $stderr.;To;;0;[o; ;[I")Open3.popen3: Executes the command; ;TI"4returns pipes for $stdin, $stdout, and $stderr.;T@o;;0;[o; ;[I"XEach of these methods executes one or more commands in processes and/or subshells, ;TI"Creturns pipes for the first $stdin, the last $stdout, or both:;T@o;;;;[ o;;0;[o; ;[I";Open3.pipeline_r: Returns a pipe for the last $stdout.;To;;0;[o; ;[I"POpen3.pipeline_rw: Returns pipes for the first $stdin and the last $stdout.;To;;0;[o; ;[I";Open3.pipeline_w: Returns a pipe for the first $stdin.;To;;0;[o; ;[I"COpen3.pipeline_start: Does not wait for processes to complete.;To;;0;[o; ;[I"5Open3.pipeline: Waits for processes to complete.;T@o; ;[I"'Each of the methods above accepts:;T@o;;;;[o;;0;[o; ;[I"@An optional hash of environment variable names and values; ;TI"Isee {Execution Environment}[rdoc-ref:Process@Execution+Environment].;To;;0;[o; ;[I"HA required string argument that is a +command_line+ or +exe_path+; ;TI"asee {Argument command_line or exe_path}[rdoc-ref:Process@Argument+command_line+or+exe_path].;To;;0;[o; ;[I",An optional hash of execution options; ;TI"Asee {Execution Options}[rdoc-ref:Process@Execution+Options].;T: @fileI"lib/open3.rb;T:0@omit_headings_from_table_of_contents_below0o;;[ ;I"lib/open3/version.rb;T;0;0;0[ [U:RDoc::Constant[i I"VERSION;TI"Open3::VERSION;T:public0o;;[ ;@�;0@�@cRDoc::NormalModule0[ [[I" class;T[[;[[I" capture2;TI"lib/open3.rb;T[I"capture2e;T@�[I" capture3;T@�[I" pipeline;T@�[I"pipeline_r;T@�[I"pipeline_rw;T@�[I"pipeline_start;T@�[I"pipeline_w;T@�[I"popen2;T@�[I"popen2e;T@�[I"popen3;T@�[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[@�@�[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@�@�@�cRDoc::TopLevel