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