7 references to ExitCode
aspire (6)
DotNet\ProcessExecution.cs (3)
83public int ExitCode => Process.ExitCode; 228_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", _fileName, process.Id, process.ExitCode); 238return process.ExitCode;
Processes\IsolatedProcess.cs (2)
242/// the process exited — which would make an immediately-following <see cref="ExitCode"/> read 243/// throw. Routing the wait through the same kept handle as <see cref="ExitCode"/> /
Processes\IsolatedProcess.Windows.cs (1)
283ThrowIfDisposed(processHandle, nameof(ExitCode));
Aspire.Cli.Tests (1)
Processes\IsolatedProcessTests.cs (1)
42Assert.Equal(0, child.ExitCode);