B.2.9 System

Functions for executing shell commands on the local operating system and other system-level operations.

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).

sleepMillis( millis )
Waits for a specified number of milliseconds.

sleep( secs )
Waits for a specified number of seconds.