All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bsh.commands.exit.bsh Maven / Gradle / Ivy

The newest version!
/**
	Conditionally exit the virtual machine.
	Call System.exit(0) unless bsh.system.shutdownOnExit == false.
*/

bsh.help.exit = "usage: exit()";

exit() {
	// shutdown Java VM unless flagged
	if ( bsh.system.shutdownOnExit != false )
		System.exit(0);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy