code: public static void setShutdownOnExit(final boolean value) {
          try {
              SYSTEM_OBJECT.getNameSpace().setVariable("shutdownOnExit", Boolean.valueOf(value), false);
          } catch (final UtilEvalError utilEvalError) {
              throw new IllegalStateException(utilEvalError);
          }
      }
docs: Shared system object visible under bsh.system