|
|
|
|
|
CmdExecute (Function) In french: CmdExécute Executes a command in console mode. This command must have been defined by a variable of type Command.
MyCommandToExecute is Command
MyCommandToExecute.Executable = "C:\Path\MyProgram.exe"
MyCommandToExecute.Arguments = "Argument1"
MyCommandToExecute.Streams = cmdStandardInput + cmdStandardOutput
CmdAddArgument(MyCommandToExecute, "Argument2")
CmdAddOption(MyCommandToExecute, "opt1", "val1")
CmdExecute(MyCommandToExecute, False)
Syntax
<Result> = CmdExecute(<Command to execute> [, <Blocking>])
<Result>: Boolean - True if the command was run,
- False otherwise.
<Command to execute>: Command variable Name of the Command variable corresponding to the command to be executed in console mode. <Blocking>: Optional boolean - True (default) to block the application until the command finishes executing.
- False to let the application run without waiting for the command to finish executing.
Business / UI classification: Business Logic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|