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