8 implementations of ExitCode
aspire (1)
src\Shared\ChildProcess.cs (1)
91
public int
ExitCode
=> GetExitCode(Process);
Aspire.Cli.Tests (7)
Commands\AppHostLauncherTests.cs (3)
1603
public int
ExitCode
=> Inner.ExitCode;
1642
public int
ExitCode
1715
public int
ExitCode
=> 0;
Commands\StartCommandTests.cs (1)
751
public int
ExitCode
=> CliExitCodes.FailedToDotnetRunAppHost;
DotNet\DotNetCliRunnerTests.cs (1)
3258
public int
ExitCode
=> exitCode;
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1908
public int
ExitCode
=> 0;
TestServices\TestProcessExecutionFactory.cs (1)
224
public int
ExitCode
=> _exitCode;
15 references to ExitCode
aspire (14)
Commands\AppHostLauncher.cs (1)
734
var exitCode = childProcess.
ExitCode
;
Commands\DashboardRunCommand.cs (4)
486
? GetExitCodeMessage(process.
ExitCode
)
517
if (process.
ExitCode
!= 0)
519
InteractionService.DisplayError(GetExitCodeMessage(process.
ExitCode
));
522
return process.
ExitCode
== 0 ? CommandResult.Success() : CommandResult.Failure(CliExitCodes.DashboardFailure);
DotNet\DotNetCliRunner.cs (3)
580
logger.LogDebug(ex, "AppHost process has exited with code {ExitCode}. Unable to connect to backchannel at {SocketPath}", execution.
ExitCode
, socketPath);
581
var message = execution.
ExitCode
== CliExitCodes.Success
583
: $"The AppHost process exited unexpectedly with exit code {execution.
ExitCode
}";
Projects\AppHostServerSession.cs (3)
134
return execution.
ExitCode
;
284
completion.TrySetResult(execution.HasExited ? execution.
ExitCode
: -1);
424
_activity.SetProcessExitCode(execution.
ExitCode
);
Projects\IAppHostServerProject.cs (1)
32
/// (<see cref="Aspire.Shared.IChildProcess.HasExited"/>, <see cref="Aspire.Shared.IChildProcess.
ExitCode
"/>,
Projects\ProcessGuestLauncher.cs (1)
178
finalExitCode = execution.HasExited ? execution.
ExitCode
: -1;
Utils\EnvironmentChecker\DcpConnectionChecker.cs (1)
391
_process.
ExitCode
,
Aspire.Cli.Tests (1)
Commands\AppHostLauncherTests.cs (1)
1603
public int ExitCode => Inner.
ExitCode
;