Implemented interface member:
method
RunAndCaptureTextAsync
Aspire.Hosting.Dcp.Process.IProcessRunner.RunAndCaptureTextAsync(System.String, System.Collections.Generic.IReadOnlyList<System.String>, System.String, System.Collections.Generic.IReadOnlyDictionary<System.String, System.String>, System.ReadOnlyMemory<System.Byte>, System.Threading.CancellationToken)
8 references to RunAndCaptureTextAsync
Aspire.Hosting.Dotnet.Tests (1)
DotnetProjectBuildCoordinatorTests.cs (1)
312var buildResult = await new DefaultProcessRunner().RunAndCaptureTextAsync(
Aspire.Hosting.Tests (7)
Dcp\ProcessCaptureTests.cs (6)
53var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.ResolvedExecutablePath, 87var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.ResolvedExecutablePath, 111var result = await new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.ResolvedExecutablePath, 124await Assert.ThrowsAsync<Win32Exception>(() => runner.RunAndCaptureTextAsync(missing, [], workspace.Path)); 127await Assert.ThrowsAnyAsync<OperationCanceledException>(() => runner.RunAndCaptureTextAsync(missing, [], workspace.Path, cancellationToken: cancellation.Token)); 163var capture = new DefaultProcessRunner().RunAndCaptureTextAsync(DotnetFileAppProcess.ResolvedExecutablePath,
Pipelines\PipelineOutputSelectionTests.cs (1)
331var probe = await runner.RunAndCaptureTextAsync("git",