4 instantiations of ProcessResult
aspire (4)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (4)
1166return new ProcessResult( 1177return new ProcessResult(exitCode, stdout.ToString(), stderr.ToString()); 1181return new ProcessResult( 1191return new ProcessResult(
8 references to ProcessResult
aspire (8)
src\Shared\Telemetry\InternalMicrosoftDetector.cs (8)
615var result = await RunProcessAsync("cmd.exe", ["/c", "echo %USERDNSDOMAIN%&echo %USERNAME%"], cancellationToken).ConfigureAwait(false); 666var result = await RunProcessAsync( 687var result = await RunProcessAsync(_macPlatformSsoPath, ["platform", "-s"], cancellationToken).ConfigureAwait(false); 807var result = await RunProcessAsync("dsregcmd", ["/status"], cancellationToken).ConfigureAwait(false); 825var result = await RunProcessAsync("cmd.exe", ["/c", "dsregcmd /status"], cancellationToken).ConfigureAwait(false); 852var tokenResult = await RunProcessAsync(executable, ["auth", "token", "--hostname", "github.com"], cancellationToken).ConfigureAwait(false); 1134private async Task<ProcessResult> RunProcessAsync(string fileName, string[] arguments, CancellationToken cancellationToken) 1201private static InternalMicrosoftProbeResult? GetProcessFailure(ProcessResult result, bool treatNonZeroExitAsFailure)