method
system
system(*args)
public
Executes cmd in a subshell, returning true if the command gives zero exit status, false for non zero exit status. Returns nil if command execution fails. An error status is available in $?. The arguments are processed in the same way as for Kernel::exec.
The hash arguments, env and options, are same as exec and spawn. See spawn for details.
system("echo *") system("echo", "*")
produces:
config.h main.rb *