Method RunCmd
RunCmd(string, string, TimeSpan?)
Declaration
public static ProcessHelper.ProcessRunInfo RunCmd(string cmd, string arguments, TimeSpan? timeout = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | cmd | |
| string | arguments | |
| TimeSpan? | timeout |
Returns
| Type | Description |
|---|---|
| ProcessHelper.ProcessRunInfo |
RunCmd(ProcessStartInfo, TimeSpan?)
Declaration
public static ProcessHelper.ProcessRunInfo RunCmd(ProcessStartInfo processStartInfo, TimeSpan? timeout = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ProcessStartInfo | processStartInfo | |
| TimeSpan? | timeout |
Returns
| Type | Description |
|---|---|
| ProcessHelper.ProcessRunInfo |