1 write to _process
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ServerInstance.cs (1)
95_process = Process.Start(startInfo)!;
9 references to _process
Microsoft.AspNetCore.Components.Testing (9)
Infrastructure\ServerInstance.cs (9)
97_ = DrainStreamAsync(_process.StandardOutput, $"[{AppName}:{Id}] ", _stdoutBuffer); 98_ = DrainStreamAsync(_process.StandardError, $"[{AppName}:{Id} ERR] ", _stderrBuffer); 103var processExitTask = _process.WaitForExitStatusAsync(); 112$"App '{AppName}' process exited with code {_process.ExitCode} before signaling readiness. " + 122$"Process still running: {!_process.HasExited}. " + 133if (_process is { HasExited: false }) 135_process.Kill(entireProcessTree: true); 136await _process.WaitForExitStatusAsync().ConfigureAwait(false); 139_process?.Dispose();