exitCodeOrNull

abstract fun exitCodeOrNull(): Int?(source)

Returns the exit code for which the process completed with, or null if it has not exited yet.