How do you return an exit code from Rhino? -
I am using Java to run a command line utility written in Rhino, but if I have any error, then I That error needs to be back back to the shell then the processing stops to open. How do I pass an error code to open from Rhino?
You can use
java.lang.System Exit (1);
Comments
Post a Comment