Class ExternalCommandRunner
Inheritance
System.Object
ExternalCommandRunner
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Utils
Assembly: AsaLib.dll
Syntax
public static class ExternalCommandRunner
Methods
| Improve this Doc View SourceRunExternalCommand(String, String, Boolean)
Declaration
public static string RunExternalCommand(string filename, string arguments = "", bool Redirect = true)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filename | |
| System.String | arguments | |
| System.Boolean | Redirect |
Returns
| Type | Description |
|---|---|
| System.String |
RunExternalCommand(String, String, out String, out String)
Declaration
public static int RunExternalCommand(string command, string arguments, out string StdOut, out string StdErr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | command | |
| System.String | arguments | |
| System.String | StdOut | |
| System.String | StdErr |
Returns
| Type | Description |
|---|---|
| System.Int32 |