|
CommandExecute(String, String, String, String, Int32) Method
|
Executes a command line operation and returns true if there was no standard error reported.
Namespace: GSF.ConsoleAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax static member Execute :
fileName : string *
arguments : string *
standardOutput : string byref *
standardError : string byref *
exitCode : int byref -> bool
GSF.Console.Command.Execute = function(fileName, arguments, standardOutput, standardError, exitCode);
View SourceParameters
- fileName String
- Command line file name to execute.
- arguments String
- Command line arguments to use, if any.
- standardOutput String
- Any standard output reported by the command line operation.
- standardError String
- Any standard error reported by the command line operation.
- exitCode Int32
- Exit code of the process, assuming process successfully completed.
Return Value
Booleantrue if there was no standard error reported; otherwise,
false.
Remarks This function waits indefinitely for the command line operation to complete.
See Also