Process.ExecuteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<int> ExecuteAsync(string command, string args, string workingDir = default, Action<string> stdOut = default, Action<string> stdErr = default, params(string key, string value)[] environmentVariables);
static member ExecuteAsync : string * string * string * Action<string> * Action<string> * ValueTuple<string, string>[] -> System.Threading.Tasks.Task<int>
Public Function ExecuteAsync (command As String, args As String, Optional workingDir As String = Nothing, Optional stdOut As Action(Of String) = Nothing, Optional stdErr As Action(Of String) = Nothing, ParamArray environmentVariables As ValueTuple(Of String, String)()) As Task(Of Integer)
Parameters
- command
- String
- args
- String
- workingDir
- String
- environmentVariables
- ValueTuple<String,String>[]