klyn.process.ProcessChannel.exitCode
property
public readonly property exitCode as Long
Description

Exit status of an exited direct child, available until close. POSIX signal termination returns 128 + signal number.

Throws
  • IllegalStateException if the child has not exited.
  • IOException if the channel is closed or status retrieval fails.
Example

code = channel.exitCode