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

Popular posts from this blog

c# - PInvoke of NetUserAdd returns 24 -

c# - XMLDocument.Validate Error: System.InvalidOperationException : The XmlSchemaSet on the document is either null or has no schemas in it -