exit

fun exit(status: Int)

Throws a ScriptException to prevent scripts from calling System.exit().

Parameters

status

the exit status code that was attempted

Throws

always thrown to block the exit call