1 write to CurrentProcess
Infrastructure.Tests (1)
PowerShellScripts\PowerShellCommand.cs (1)
90
CurrentProcess
= CreateProcess(fullArgs);
15 references to CurrentProcess
Infrastructure.Tests (15)
PowerShellScripts\PowerShellCommand.cs (15)
77
CurrentProcess
?.CloseAndKillProcessIfRunning();
92
CurrentProcess
.ErrorDataReceived += (s, e) =>
107
CurrentProcess
.OutputDataReceived += (s, e) =>
127
CurrentProcess
.EnableRaisingEvents = true;
128
CurrentProcess
.Exited += (s, a) =>
134
CurrentProcess
.Start();
135
CurrentProcess
.BeginOutputReadLine();
136
CurrentProcess
.BeginErrorReadLine();
141
var waitForExitTask =
CurrentProcess
.WaitForExitAsync(token);
151
CurrentProcess
.StartInfo,
152
CurrentProcess
.ExitCode,
163
if (!
CurrentProcess
.TryGetHasExited())
168
CurrentProcess
.CloseMainWindow();
172
CurrentProcess
.Kill(entireProcessTree: true);
174
CurrentProcess
.Dispose();