1 write to CurrentProcess
Infrastructure.Tests (1)
WorkflowScripts\NodeCommand.cs (1)
83
CurrentProcess
= CreateProcess(scriptPath, args);
15 references to CurrentProcess
Infrastructure.Tests (15)
WorkflowScripts\NodeCommand.cs (15)
72
CurrentProcess
?.CloseAndKillProcessIfRunning();
85
CurrentProcess
.ErrorDataReceived += (s, e) =>
100
CurrentProcess
.OutputDataReceived += (s, e) =>
120
CurrentProcess
.EnableRaisingEvents = true;
121
CurrentProcess
.Exited += (_, _) =>
127
CurrentProcess
.Start();
128
CurrentProcess
.BeginOutputReadLine();
129
CurrentProcess
.BeginErrorReadLine();
134
var waitForExitTask =
CurrentProcess
.WaitForExitAsync(token);
144
CurrentProcess
.StartInfo,
145
CurrentProcess
.ExitCode,
156
if (!
CurrentProcess
.TryGetHasExited())
161
CurrentProcess
.CloseMainWindow();
165
CurrentProcess
.Kill(entireProcessTree: true);
168
CurrentProcess
.Dispose();