method

system

ruby latest stable - Class: Shell::CommandProcessor
system(command, *opts)
public

Executes the given command with the options parameter.

Example:

print sh.system("ls", "-l")
sh.system("ls", "-l") | sh.head > STDOUT