I am almost certain this is impossible, but it's worth a try.
I am writing a command line interface for a certain tool. I am talking about a Java application that invokes another Java application. The tool calls System.exit
after execution, which in turn terminates my own execution environment. I don't want that.
Is there any way to ignore System.exit
calls?