1 write to StartedProcess
Aspire.Cli.Tests (1)
Commands\AppHostLauncherTests.cs (1)
1514
StartedProcess
= Process.Start(CreateProcessStartInfo(workingDirectory)) ?? throw new InvalidOperationException("Failed to start test child process.");
8 references to StartedProcess
Aspire.Cli.Tests (8)
Commands\AppHostLauncherTests.cs (8)
569
Assert.False(harness.ProcessFactory.
StartedProcess
?.HasExited);
773
var startedProcess = harness.ProcessFactory.
StartedProcess
?? throw new InvalidOperationException("Expected child process to start.");
834
Assert.False(harness.ProcessFactory.
StartedProcess
?.HasExited);
1464
if (
StartedProcess
is { HasExited: false })
1466
StartedProcess
.Kill(entireProcessTree: true);
1467
StartedProcess
.WaitForExit(TimeSpan.FromSeconds(10));
1516
return Task.FromResult<IProcessExecution>(new MonitoredProcessExecutionAdapter(
StartedProcess
));
1523
StartedProcess
?.Dispose();