Process.StartProcess 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.Diagnostics.Process StartProcess(string command, string args, string workingDir = default, Action<string> stdOut = default, Action<string> stdErr = default, params(string key, string value)[] environmentVariables);
static member StartProcess : string * string * string * Action<string> * Action<string> * ValueTuple<string, string>[] -> System.Diagnostics.Process
Public Function StartProcess (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 Process
Parameters
- command
- String
- args
- String
- workingDir
- String
- environmentVariables
- ValueTuple<String,String>[]