B.2.3 System

Executes commands on the local operating system. These are executed as if typed in from the shell, or command line.

exec( words, ... )
Executes an operating system command composed of a command and one or more arguments.

Each of the words values is treated as a single (possibly quoted) word in a shell command. The first argument is the filename (either a full pathname, or the name of a file on the current path) of an executable file. These values can be numeric, or strings, or something else, and are converted automatically to string values.

exec( line )
Executes a string as an operating system command. Any spaces in the string are taken to delimit words (the first word is the name of the command).