1 write to StartedProcess
Aspire.Cli.Tests (1)
Commands\AppHostLauncherTests.cs (1)
1349
StartedProcess
= Process.Start(CreateProcessStartInfo(workingDirectory)) ?? throw new InvalidOperationException("Failed to start test child process.");
7 references to StartedProcess
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (7)
583
Assert.False(harness.ProcessFactory.
StartedProcess
?.HasExited);
787
var startedProcess = harness.ProcessFactory.
StartedProcess
?? throw new InvalidOperationException("Expected child process to start.");
1299
if (
StartedProcess
is { HasExited: false })
1301
StartedProcess
.Kill(entireProcessTree: true);
1302
StartedProcess
.WaitForExit(TimeSpan.FromSeconds(10));
1351
return Task.FromResult<IProcessExecution>(new MonitoredProcessExecutionAdapter(
StartedProcess
));
1358
StartedProcess
?.Dispose();