exec function


exec integer

exec (String command_with_parameters)

Executes the command and parameters using the current systems command shell.

Parameters:

command_with_parameters - a string containing the command and the parameters.

Returns:

The exit status of the command.

Example

command = "ls -l"
status = exec(command)
if status == 0 then
// Command executed OK
else
// Executing command returned an error
endif



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*