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)
98
_ = DrainStreamAsync(
_process
.StandardOutput, $"[{AppName}:{Id}] ", _stdoutBuffer);
99
_ = DrainStreamAsync(
_process
.StandardError, $"[{AppName}:{Id} ERR] ", _stderrBuffer);
104
var processExitTask =
_process
.WaitForExitAsync();
113
$"App '{AppName}' process exited with code {
_process
.ExitCode} before signaling readiness. " +
123
$"Process still running: {!
_process
.HasExited}. " +
134
if (
_process
is { HasExited: false })
136
_process
.Kill(entireProcessTree: true);
137
await
_process
.WaitForExitAsync().ConfigureAwait(false);
140
_process
?.Dispose();