Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby20 /
share /
ri /
2.0.0 /
system /
Open3 /
Delete
Unzip
Name
Size
Permission
Date
Action
capture2-c.ri
1.25
KB
-rw-r--r--
2023-07-26 17:38
capture2-i.ri
1.25
KB
-rw-r--r--
2023-07-26 17:38
capture2e-c.ri
929
B
-rw-r--r--
2023-07-26 17:38
capture2e-i.ri
929
B
-rw-r--r--
2023-07-26 17:38
capture3-c.ri
1.91
KB
-rw-r--r--
2023-07-26 17:38
capture3-i.ri
1.91
KB
-rw-r--r--
2023-07-26 17:38
cdesc-Open3.ri
1.9
KB
-rw-r--r--
2023-07-26 17:38
pipeline-c.ri
2.16
KB
-rw-r--r--
2023-07-26 17:38
pipeline-i.ri
2.16
KB
-rw-r--r--
2023-07-26 17:38
pipeline_r-c.ri
1.81
KB
-rw-r--r--
2023-07-26 17:38
pipeline_r-i.ri
1.81
KB
-rw-r--r--
2023-07-26 17:38
pipeline_rw-c.ri
2.03
KB
-rw-r--r--
2023-07-26 17:38
pipeline_rw-i.ri
2.03
KB
-rw-r--r--
2023-07-26 17:38
pipeline_start-c.ri
1.97
KB
-rw-r--r--
2023-07-26 17:38
pipeline_start-i.ri
1.97
KB
-rw-r--r--
2023-07-26 17:38
pipeline_w-c.ri
1.41
KB
-rw-r--r--
2023-07-26 17:38
pipeline_w-i.ri
1.41
KB
-rw-r--r--
2023-07-26 17:38
popen2-c.ri
1.42
KB
-rw-r--r--
2023-07-26 17:38
popen2-i.ri
1.42
KB
-rw-r--r--
2023-07-26 17:38
popen2e-c.ri
1.29
KB
-rw-r--r--
2023-07-26 17:38
popen2e-i.ri
1.29
KB
-rw-r--r--
2023-07-26 17:38
popen3-c.ri
2.51
KB
-rw-r--r--
2023-07-26 17:38
popen3-i.ri
2.51
KB
-rw-r--r--
2023-07-26 17:38
Save
Rename
U:RDoc::AnyMethod[iI" capture3:EFI"Open3::capture3;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"UOpen3.capture3 captures the standard output and the standard error of a command.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"Mstdout_str, stderr_str, status = Open3.capture3([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"%# dot is a command of graphviz. ;TI"graph = <<'End' ;TI" digraph g { ;TI" a -> b ;TI" } ;TI" End ;TI"Llayouted_graph, dot_log = Open3.capture3("dot -v", :stdin_data=>graph) ;TI" ;TI"To, e, s = Open3.capture3("echo abc; sort >&2", :stdin_data=>"foo\nbar\nbaz\n") ;TI"p o #=> "abc\n" ;TI"p e #=> "bar\nbaz\nfoo\n" ;TI"2p s #=> #<Process::Status: pid 32682 exit 0> ;TI" ;TI"K# generate a thumnail image using the convert command of ImageMagick. ;TI"6# However, if the image stored really in a file, ;TI"S# system("convert", "-thumbnail", "80", "png:#{filename}", "png:-") is better ;TI"## because memory consumption. ;TI"Z# But if the image is stored in a DB or generated by gnuplot Open3.capture2 example, ;TI"'# Open3.capture3 is considerable. ;TI"# ;TI"gimage = File.read("/usr/share/openclipart/png/animals/mammals/sheep-md-v0.1.png", :binmode=>true) ;TI"pthumnail, err, s = Open3.capture3("convert -thumbnail 80 png:- png:-", :stdin_data=>image, :binmode=>true) ;TI"if s.success? ;TI"& STDOUT.binmode; print thumnail ;TI"end;T; 0: @fileI"lib/open3.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*cmd);T@:FI" Open3;FcRDoc::NormalModule0