This function executes a shell command line and returns the output of the script or program. The output is returned as text. The optional parameter is used for standard input to the shell command.
Syntax
SYSTEM(command,{command-input})
Arguments
command Command line to execute. command-input Standard input to pass to the executing command. Example
SYSTEM("ls /boot")
Returns a stream of text listing the contents of the boot drive.