kotlin-stdlib / kotlin.system / exitProcess exitProcess JVM Native 1.0 fun exitProcess(status: Int): Nothing Terminates the currently running process. Parameters status - serves as a status code; by convention, a nonzero status code indicates abnormal termination. Return This method never returns normally.