class

Process

Inherits Reference / Object

Class methods

exit(status = 0) : NoReturn

Replace the typically used exit method with a method that raises. This allows tests to catch attempts to exit the application.

Source