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