Function Reference
— Function File: [status, text] unix (command)
— Function File: [status, text] unix (command, "-echo")

Execute a system command if running under a Unix-like operating system, otherwise do nothing. Return the exit status of the program in status and any output sent to the standard output in text. If the optional second argument "-echo" is given, then also send the output from the command to the standard output.

See also: isunix ispc system