Class Shell
Namespace: Unity.Platforms
Syntax
public static class Shell
Methods
Run(ShellProcessArgs)
Declaration
public static ShellProcessOutput Run(ShellProcessArgs shellArgs)
Parameters
| Type | Name | Description |
|---|---|---|
| ShellProcessArgs | shellArgs |
Returns
| Type | Description |
|---|---|
| ShellProcessOutput |
RunAsync(ShellProcessArgs)
Declaration
public static Process RunAsync(ShellProcessArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| ShellProcessArgs | args |
Returns
| Type | Description |
|---|---|
| Process |
WaitForProcess(Process, Int32, Boolean, Int32)
Declaration
public static IEnumerator<Shell.ProcessStatus> WaitForProcess(Process process, int maxIdleTimeInMs, bool idleAsError, int yieldFrequencyInMs = 30)
Parameters
| Type | Name | Description |
|---|---|---|
| Process | process | |
| Int32 | maxIdleTimeInMs | |
| Boolean | idleAsError | |
| Int32 | yieldFrequencyInMs |
Returns
| Type | Description |
|---|---|
| IEnumerator<Shell.ProcessStatus> |