
bsh.commands.exit.bsh Maven / Gradle / Ivy
/**
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 - 2025 Weber Informatics LLC | Privacy Policy