|
Command Class
|
Defines methods related to command line operations
Inheritance Hierarchy
Namespace: GSF.ConsoleAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.191-beta+925724bd48239ba1d4417fe63f8c4977892ab734
Syntaxpublic static class Command
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type Command = class end
GSF.Console.Command = function();
Type.createClass(
'GSF.Console.Command');
View SourceThe Command type exposes the following members.
Methods | Name | Description |
---|
![Public method Public method](../icons/pubMethod.gif) ![Static member Static member](../icons/Static.gif) | Execute(String, String, Int32) |
Executes a command line operation and returns its standard output and exit code or throws an exception with the standard error.
|
![Public method Public method](../icons/pubMethod.gif) ![Static member Static member](../icons/Static.gif) | Execute(String, String, String, String, Int32) |
Executes a command line operation and returns true if there was no standard error reported.
|
![Public method Public method](../icons/pubMethod.gif) ![Static member Static member](../icons/Static.gif) | Execute(String, String, String, String, Boolean, Int32, Int32) |
Executes a command line operation and returns true if there was no standard error reported.
|
![Public Extension Method Public Extension Method](../icons/pubExtension.gif) | ShellDecode |
Decodes a command line parameter previously encoded by ShellEncode(String).
|
![Public Extension Method Public Extension Method](../icons/pubExtension.gif) | ShellEncode |
Shell encodes a command line parameter by converting "\" to "\\".
|
Top
See Also