Executes commands on the local operating system. These are executed as
if typed in from the shell, or command line.
-
exec( cmd, arg1 )
- Executes an operating system command with one argument.
-
exec( cmd, arg1, arg2 )
- Executes an operating system command with two arguments.
-
exec( cmd, arg1, arg2, arg3 )
- Executes an operating system command with three arguments.
-
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).