1 write to _process
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ServerInstance.cs (1)
130
_process
= Process.Start(startInfo)
9 references to _process
Microsoft.AspNetCore.Components.Testing (9)
Infrastructure\ServerInstance.cs (9)
133
_ = DrainStreamAsync(
_process
.StandardOutput, $"[{AppName}:{Id}] ", _stdoutBuffer);
134
_ = DrainStreamAsync(
_process
.StandardError, $"[{AppName}:{Id} ERR] ", _stderrBuffer);
139
var processExitTask =
_process
.WaitForExitAsync();
148
$"App '{AppName}' process exited with code {
_process
.ExitCode} before signaling readiness. " +
158
$"Process still running: {!
_process
.HasExited}. " +
169
if (
_process
is { HasExited: false })
171
_process
.Kill(entireProcessTree: true);
172
await
_process
.WaitForExitAsync().ConfigureAwait(false);
175
_process
?.Dispose();