4 instantiations of ProcessResult
aspire (4)
Telemetry\InternalMicrosoftDetector.cs (4)
1148return new ProcessResult( 1159return new ProcessResult(exitCode, stdout.ToString(), stderr.ToString()); 1163return new ProcessResult( 1173return new ProcessResult(
8 references to ProcessResult
aspire (8)
Telemetry\InternalMicrosoftDetector.cs (8)
604var result = await RunProcessAsync("cmd.exe", ["/c", "echo %USERDNSDOMAIN%&echo %USERNAME%"], cancellationToken).ConfigureAwait(false); 655var result = await RunProcessAsync( 676var result = await RunProcessAsync(_macPlatformSsoPath, ["platform", "-s"], cancellationToken).ConfigureAwait(false); 796var result = await RunProcessAsync("dsregcmd", ["/status"], cancellationToken).ConfigureAwait(false); 814var result = await RunProcessAsync("cmd.exe", ["/c", "dsregcmd /status"], cancellationToken).ConfigureAwait(false); 841var tokenResult = await RunProcessAsync(executable, ["auth", "token", "--hostname", "github.com"], cancellationToken).ConfigureAwait(false); 1123private async Task<ProcessResult> RunProcessAsync(string fileName, string[] arguments, CancellationToken cancellationToken) 1183private static InternalMicrosoftProbeResult? GetProcessFailure(ProcessResult result, bool treatNonZeroExitAsFailure)