15 references to RunAndCaptureTextAsync
aspire (11)
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
30var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo(executablePath, "--version")
Agents\Copilot\CopilotCliRunner.cs (1)
30var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo(executablePath, "--version")
Agents\OpenCode\OpenCodeCliRunner.cs (1)
30var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo(executablePath, "--version")
Agents\Playwright\PlaywrightCliRunner.cs (2)
27var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo(executablePath, "--version") 89var result = await Process.RunAndCaptureTextAsync(startInfo, cancellationToken).ConfigureAwait(false);
Agents\VsCode\VsCodeCliRunner.cs (1)
31var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo(executablePath, "--version")
Git\GitRepository.cs (1)
140var result = await Process.RunAndCaptureTextAsync(startInfo, cancellationToken).ConfigureAwait(false);
Npm\NpmRunner.cs (1)
282var result = await Process.RunAndCaptureTextAsync(startInfo, cancellationToken).ConfigureAwait(false);
OpenCode\OpenCodeCliRunner.cs (1)
23var result = await Process.RunAndCaptureTextAsync(new ProcessStartInfo("opencode", "--version")
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
22private readonly Func<ProcessStartInfo, CancellationToken, Task<ProcessTextOutput>> _runProcess = Process.RunAndCaptureTextAsync;
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (1)
241var result = await Process.RunAndCaptureTextAsync(
Aspire.Cli.Tests (1)
DotNet\ProcessExecutionTests.cs (1)
258return await Process.RunAndCaptureTextAsync(startInfo, timeout.Token);
Microsoft.NET.Build.Containers (2)
LocalDaemons\ContainerRuntimeOperations.cs (2)
61Task<ProcessTextOutput> loadTask = Process.RunAndCaptureTextAsync(loadInfo, processCancellation.Token); 206ProcessTextOutput output = await Process.RunAndCaptureTextAsync(startInfo, cancellationToken).ConfigureAwait(false);
System.Diagnostics.Process (1)
System\Diagnostics\Process.Scenarios.cs (1)
359=> RunAndCaptureTextAsync(CreateStartInfoForCapture(fileName, arguments), cancellationToken);