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
/
FileUtils
/
//opt/alt/ruby21/share/ri/2.1.0/system/FileUtils/sh-i.ri
U:RDoc::AnyMethod[iI"sh:EFI"FileUtils#sh;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"ORun the system command +cmd+. If multiple arguments are given the command ;TI"Cis not run with the shell (same semantics as Kernel::exec and ;TI"Kernel::system).;To:RDoc::Markup::BlankLine o; ; [I" Example:;To:RDoc::Markup::Verbatim; [I"sh %{ls -ltr} ;TI" ;TI"!sh 'ls', 'file with spaces' ;TI" ;TI",# check exit status after command runs ;TI"*sh %{grep pattern file} do |ok, res| ;TI" if ! ok ;TI"? puts "pattern not found (status = #{res.exitstatus})" ;TI" end ;TI"end;T:@format0: @fileI"lib/rake/file_utils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*cmd, &block);T@ FI"FileUtils;FcRDoc::NormalModule00