system

system

ri

 ---------------------------------------------------------- Kernel#system
      system(cmd [, arg, ...])    => true or false
 ------------------------------------------------------------------------
      Executes _cmd_ in a subshell, returning  true  if the command was
      found and ran successfully,  false  otherwise. An error status is
      available in  $? . The arguments are processed in the same way as
      for  Kernel::exec .
 
         system("echo *")
         system("echo", "*")
 
      _produces:_
 
         config.h main.rb
         *