exitCode property

int? exitCode
final

The command's exit code, or null if the shell did not report one (e.g. a non-POSIX dialect whose marker omits it).

Implementation

final int? exitCode;