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