BBInvoker::runCommand
Description
In BBj 9.0 and higher, this method runs a command, synchronously or asynchronously, on the client or server machine.
Syntax
|
Return Value |
Method |
|
int |
runCommand(string command) |
|
int |
runCommand(string command, string workingDir, boolean runOnServer, boolean runSync) |
Parameters
|
Variable |
Description |
|
command |
Specifies the command to invoke. |
|
workingDir |
Specifies the working directory from which the command will be invoked. |
|
runOnServer |
If TRUE(1) then the command will be run on the server, otherwise it will be run on the client. |
|
runSync |
If TRUE(1) then the command will be run synchronously, otherwise it will be run asynchronously. |
Return Value
Returns the system return code.
Remarks
None.
Example
|