Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
Open3
/
//opt/alt/ruby21/share/ri/2.1.0/system/Open3/capture2e-i.ri
U:RDoc::AnyMethod[iI"capture2e:EFI"Open3#capture2e;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"VOpen3.capture2e captures the standard output and the standard error of a command.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Mstdout_and_stderr_str, status = Open3.capture2e([env,] cmd... [, opts]) ;T:@format0o; ; [I"GThe arguments env, cmd and opts are passed to Open3.popen3 except ;TI">opts[:stdin_data] and opts[:binmode]. See Process.spawn.;T@o; ; [I"SIf opts[:stdin_data] is specified, it is sent to the command's standard input.;T@o; ; [I"FIf opts[:binmode] is true, internal pipes are set to binary mode.;T@o; ; [I" Example:;T@o;; [I"# capture make log ;TI"*make_log, s = Open3.capture2e("make");T; 0: @fileI"lib/open3.rb;T:0@omit_headings_from_table_of_contents_below000[ I"3(*cmd, stdin_data: '', binmode: false, **opts);T@#FI" Open3;FcRDoc::NormalModule00