Class ZOSystem
Inheritance
System.Object
ZOSystem
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: ZO.Util
Assembly: Unity.ZeroSim.dll
Syntax
public static class ZOSystem
Methods
| Improve this Doc View SourceRunProcessAndGetOutput(String, String, String, out Int32)
Declaration
public static string RunProcessAndGetOutput(string workingDirectory, string executable, string arguments, out int exitCode)
Parameters
Type | Name | Description |
---|---|---|
System.String | workingDirectory | |
System.String | executable | |
System.String | arguments | |
System.Int32 | exitCode |
Returns
Type | Description |
---|---|
System.String |
RunProcessAsync(Process, Boolean)
Declaration
public static Task<int> RunProcessAsync(Process process, bool showOutput = false)
Parameters
Type | Name | Description |
---|---|---|
System.Diagnostics.Process | process | |
System.Boolean | showOutput |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> |
RunProcessAsync(String, String, String, Boolean)
Declaration
public static Task<int> RunProcessAsync(string fileName, string args, string workingDirectory = "./", bool showOutput = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | |
System.String | args | |
System.String | workingDirectory | |
System.Boolean | showOutput |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> |