1using System.Collections.Generic;
3using System.Threading.Tasks;
26 string workingDirectory,
28 CancellationToken cancellationToken,
29 IReadOnlyDictionary<string, string>? environment =
null,
30 string? fileRedirect =
null,
31 bool readStandardHandles =
false,
32 bool noShellExecute =
false);
ValueTask< IProcess > LaunchProcess(string fileName, string workingDirectory, string arguments, CancellationToken cancellationToken, IReadOnlyDictionary< string, string >? environment=null, string? fileRedirect=null, bool readStandardHandles=false, bool noShellExecute=false)
Launch a IProcess.
IProcess GetCurrentProcess()
Get a IProcess representing the running executable.
IProcess? GetProcess(int id)
Get a IProcess by id .
IProcess? GetProcessByName(string name)
Get a IProcess with a given name .
Abstraction over a global::System.Diagnostics.Process.