1 write to CurrentProcess
Infrastructure.Tests (1)
WorkflowScripts\NodeCommand.cs (1)
82
CurrentProcess
= CreateProcess(scriptPath, args);
15 references to CurrentProcess
Infrastructure.Tests (15)
WorkflowScripts\NodeCommand.cs (15)
71
CurrentProcess
?.CloseAndKillProcessIfRunning();
84
CurrentProcess
.ErrorDataReceived += (s, e) =>
99
CurrentProcess
.OutputDataReceived += (s, e) =>
119
CurrentProcess
.EnableRaisingEvents = true;
120
CurrentProcess
.Exited += (_, _) =>
126
CurrentProcess
.Start();
127
CurrentProcess
.BeginOutputReadLine();
128
CurrentProcess
.BeginErrorReadLine();
133
var waitForExitTask =
CurrentProcess
.WaitForExitAsync(token);
143
CurrentProcess
.StartInfo,
144
CurrentProcess
.ExitCode,
155
if (!
CurrentProcess
.TryGetHasExited())
160
CurrentProcess
.CloseMainWindow();
164
CurrentProcess
.Kill(entireProcessTree: true);
167
CurrentProcess
.Dispose();