CommandExecute(String, String, Int32) Method
Executes a command line operation and returns its standard output and exit code or throws an exception with the standard error.
Namespace: Gemstone.ConsoleAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
Gemstone.Console.Command.Execute = function(fileName, arguments, timeout);
- fileName String
- Command line file name to execute.
- arguments String (Optional)
- Command line arguments to use, if any.
- timeout Int32 (Optional)
- Timeout, in milliseconds, to wait for command line operation to complete.
CommandResponseA
CommandResponse containing the standard output received from command and the exit code.
| CommandException |
Exception occurs when executed command process reports standard error output or process times-out.
|