⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Open3
/
View File Name :
popen2e-c.ri
U:RDoc::AnyMethod[iI"popen2e:ETI"Open3::popen2e;TT:publico: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::BlankLine o; ; [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