HEX
Server: Apache
System: Linux vps-cdc32557.vps.ovh.ca 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
User: hanode (1017)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/share/ri/3.0.0/system/Open3/popen2e-i.ri
U:RDoc::AnyMethod[iI"popen2e:ETI"Open3#popen2e;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"DOpen3.popen2e is similar to Open3.popen3 except that it merges ;TI">the standard output stream and the standard error stream.;To:RDoc::Markup::BlankLineo;
;	[I"Block form:;T@o:RDoc::Markup::Verbatim;	[
I"QOpen3.popen2e([env,] cmd... [, opts]) {|stdin, stdout_and_stderr, wait_thr|
;TI"8  pid = wait_thr.pid # pid of the started process.
;TI"  ...
;TI"G  exit_status = wait_thr.value # Process::Status object returned.
;TI"}
;T:@format0o;
;	[I"Non-block form:;T@o;;	[	I"Pstdin, stdout_and_stderr, wait_thr = Open3.popen2e([env,] cmd... [, opts])
;TI"	...
;TI"Zstdin.close  # stdin and stdout_and_stderr should be closed explicitly in this form.
;TI"stdout_and_stderr.close
;T;
0o;
;	[I"HSee Process.spawn for the optional hash arguments _env_ and _opts_.;T@o;
;	[I"
Example:;To;;	[I"# check gcc warnings
;TI"source = "foo.c"
;TI"5Open3.popen2e("gcc", "-Wall", source) {|i,oe,t|
;TI"  oe.each {|line|
;TI"    if /warning/ =~ line
;TI"      ...
;TI"
    end
;TI"	  }
;TI"};T;
0:
@fileI"lib/open3.rb;T:0@omit_headings_from_table_of_contents_below000[I"(*cmd, &block);T@4FI"
Open3;TcRDoc::NormalModule00