1 write to CurrentProcess
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
112
CurrentProcess
= CreateProcess(executable, args);
15 references to CurrentProcess
Aspire.Workload.Tests (15)
tests\Shared\WorkloadTesting\ToolCommand.cs (15)
101
CurrentProcess
?.CloseAndKillProcessIfRunning();
113
CurrentProcess
.ErrorDataReceived += (s, e) =>
128
CurrentProcess
.OutputDataReceived += (s, e) =>
148
CurrentProcess
.EnableRaisingEvents = true;
149
CurrentProcess
.Exited += (s, a) =>
156
CurrentProcess
.Start();
157
CurrentProcess
.BeginOutputReadLine();
158
CurrentProcess
.BeginErrorReadLine();
163
var waitForExitTask =
CurrentProcess
.WaitForExitAsync(token);
173
CurrentProcess
.StartInfo,
174
CurrentProcess
.ExitCode,
185
if (!
CurrentProcess
.TryGetHasExited())
190
CurrentProcess
.CloseMainWindow();
194
CurrentProcess
.Kill(entireProcessTree: true);
196
CurrentProcess
.Dispose();