vertx / io.vertx.ext.shell.system / Process / exitCode

exitCode

abstract fun exitCode(): Int

Return
the process exit code when the status is ExecStatus#TERMINATED otherwise null