Windows: makes elasticsearch.bat more friendly to automated processes

On Windows platforms when JAVA_HOME is not defined, a message is printed on standard output and the bat script is paused until the user press a key. This behavior is not compliant to automated processes where elasticsearch.bat can be executed by another script. This commit adds a new parameter --silent / -s that allow to skip the pause. Also, the error message is directed to standard and error outputs.

 Closes #8913
This commit is contained in:
tlrx 2015-01-06 15:35:47 +01:00
parent fc7a0d3a4a
commit 261eb5b5ce
2 changed files with 0 additions and 0 deletions

Binary file not shown.

Binary file not shown.