BaseContext :: executeCommand - Execute command
In order to run "command line commands" from within an application, 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.
When the process could not be created (e.g. in case of invalid command), the function throws an exception.
Return value: - internal feature (not documented) ( int32 )
Implementation details
int32
BaseContext  :: executeCommand ( odaba::String &sCommand, bool bOutput, bool bErrors )
- 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, outpot messages are returned to the application.
- bErrors
- Enable error messages
When this option is set to true, only error messages are returned to application.