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