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