1 write to CurrentProcess
Infrastructure.Tests (1)
PowerShellScripts\PowerShellCommand.cs (1)
91CurrentProcess = CreateProcess(fullArgs);
15 references to CurrentProcess
Infrastructure.Tests (15)
PowerShellScripts\PowerShellCommand.cs (15)
78CurrentProcess?.CloseAndKillProcessIfRunning(); 93CurrentProcess.ErrorDataReceived += (s, e) => 108CurrentProcess.OutputDataReceived += (s, e) => 128CurrentProcess.EnableRaisingEvents = true; 129CurrentProcess.Exited += (s, a) => 135CurrentProcess.Start(); 136CurrentProcess.BeginOutputReadLine(); 137CurrentProcess.BeginErrorReadLine(); 142var waitForExitTask = CurrentProcess.WaitForExitAsync(token); 152CurrentProcess.StartInfo, 153CurrentProcess.ExitCode, 164if (!CurrentProcess.TryGetHasExited()) 169CurrentProcess.CloseMainWindow(); 173CurrentProcess.Kill(entireProcessTree: true); 175CurrentProcess.Dispose();