exitProcess

inline fun exitProcess(status: Int): Nothing (source)

Platform and version requirements: JVM

Terminates the currently running Java Virtual Machine. The argument serves as a status code; by convention, a nonzero status code indicates abnormal termination.

This method never returns normally.