--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: 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.
- !ruby/struct:SM::Flow::VERB
body: " system("echo *")\n system("echo", "*")\n"
- !ruby/struct:SM::Flow::P
body: produces:
- !ruby/struct:SM::Flow::VERB
body: " config.h main.rb\n *\n"
full_name: Kernel#system
is_singleton: false
name: system
params: |
system(cmd [, arg, ...]) => true or false
visibility: public