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++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -