exec


exec (String command_with_parameters)

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

Parameter:

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*

BMC AMI Ops Console Management, BMC AMI Ops Console Automation, and BMC AMI Ops SecureHMC 4.1