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