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);
103
var processExitTask =
_process
.WaitForExitStatusAsync();
112
$"App '{AppName}' process exited with code {
_process
.ExitCode} before signaling readiness. " +
122
$"Process still running: {!
_process
.HasExited}. " +
133
if (
_process
is { HasExited: false })
135
_process
.Kill(entireProcessTree: true);
136
await
_process
.WaitForExitStatusAsync().ConfigureAwait(false);
139
_process
?.Dispose();