exit

fun exit(exitCode: Int): Nothing(source)

Alias of exitProcess to kill the script engine process with a given exitCode.

Parameters

exitCode

The exit code for the process.