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