BaseContext :: executeCommand - Execute command
In order to run "command line commands" from within an application, the function may be called passing a command.
When the process could not be created (e.g. in case of invalid command), the function throws an exception.
The return code is a numerical value set by a function or action after being executed.
Implementation details
the function may be called passing the command in sCommand. Depending on values passed in bOutput and bError, one may control the amount of information returned to application in the result string.
- sCommand
- Command string
The command string is a program call including parameters as being written on a command line.
- bOutput
- Enable message output
When this option is set to true, output messages (std::out) are returned to the application.
- bErrors
- Enable error messages
When this option is set to true, only error messages (std::err) are returned to application.

