7 references to ExitCode
aspire (6)
DotNet\ProcessExecution.cs (3)
83
public int ExitCode => Process.
ExitCode
;
228
_logger.LogDebug("{FileName}({ProcessId}) exited with code: {ExitCode}", _fileName, process.Id, process.
ExitCode
);
238
return 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)
283
ThrowIfDisposed(processHandle, nameof(
ExitCode
));
Aspire.Cli.Tests (1)
Processes\IsolatedProcessTests.cs (1)
42
Assert.Equal(0, child.
ExitCode
);