21 references to ProcessUtil
Aspire.Hosting (6)
Dcp\DcpDependencyCheck.cs (1)
106
(task, processDisposable) =
ProcessUtil
.Run(processSpec);
Dcp\DcpHost.cs (1)
285
var (dcpLauncherResult, _) =
ProcessUtil
.Run(dcpProcessSpec);
Dcp\Process\IProcessRunner.cs (3)
29
/// Runs external processes by delegating to <see cref="
ProcessUtil
"/>.
34
=>
ProcessUtil
.Run(processSpec);
43
=>
ProcessUtil
.RunAndCaptureTextAsync(executablePath, arguments, workingDirectory, environmentVariables, standardInput, cancellationToken);
VersionChecking\PackageFetcher.cs (1)
47
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
Aspire.Hosting.Blazor (1)
BlazorDotNetCliRunner.cs (1)
74
(pendingResult, processDisposable) =
ProcessUtil
.Run(processSpec);
Aspire.Hosting.Dotnet.Tests (3)
DotnetProjectBuildCoordinatorTests.cs (3)
950
var (completion, process) =
ProcessUtil
.Run(new ProcessSpec("dotnet")
1004
var (completion, process) =
ProcessUtil
.Run(new ProcessSpec("dotnet")
4615
var (completion, process) =
ProcessUtil
.Run(new ProcessSpec("dotnet")
Aspire.Hosting.Tests (11)
Dcp\ProcessUtilTests.cs (9)
34
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
60
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(CreateFailingProcessSpec(workspace, ["stdout-final-line", "stderr-final-line"], emitSecondLineToStderr: true));
83
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
109
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
133
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
169
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(spec);
190
var exception = Assert.Throws<ArgumentException>(() =>
ProcessUtil
.Run(spec));
201
var (pendingProcessResult, processDisposable) =
ProcessUtil
.Run(CreateFailingProcessSpec(workspace, lines));
234
var (pending, disposable) =
ProcessUtil
.Run(spec);
Publishing\ResourceContainerImageManagerTests.cs (2)
1250
var (pendingResult, processDisposable) =
ProcessUtil
.Run(probe);
1314
var (pendingResult, processDisposable) =
ProcessUtil
.Run(probe);