## Example

`

     string exec ( string $command [, array &$output [, int &$return_var ]] )

`

## Description

exec() executes the given command.

## Return Values

The last line from the result of the command. If you need to execute a command and have all the data from the command passed directly back without any interference, use the passthru() function. To get the output of the executed command, be sure to set and use the output parameter.