public readonly property exitCode as Long
Exit status of an exited direct child, available until close. POSIX signal termination returns 128 + signal number.
code = channel.exitCode