joerghoh opened a new pull request, #640:
URL: https://github.com/apache/jackrabbit-oak/pull/640

   
   When oak-run is terminated with a signal (e.g. because it runs under the 
supervision of the unix command "timeout"), it will print on stderr a message 
just indicating this.
   Also it can be configured to print a stacktrace, which helps to identify the 
cause why such a situation occurred.
   
   While implementing this I had to change the ```Command``` interface to 
return the statuscode. I converted all calls to ```System.exit()``` with the 
commands to return instead.  I found that in general the handling of exit codes 
is quite inconsistent and sometimes not even existing. I created 
https://issues.apache.org/jira/browse/OAK-9861 for it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to