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