mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
While trying to improve the failure output in #23547, the stderr was also captured from jrunscript. This was under the assumption that stderr is only written to in case of an error. However, with java 9, when JAVA_TOOL_OPTIONS are set, they are output to stderr. And our CI sets JAVA_TOOL_OPTIONS for some reason. This commit fixes the jrunscript call to use a separate buffer for stderr.