On Wed, 6 Mar 2024 09:26:08 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> ``` > Process p = ProcessTools.startProcess(...); > OutputAnalyzer oa = new OutputAnalyzer(p); > oa.shouldNotHaveExitValue(0); > oa.shouldContain("This command is not for general use"); > ``` Thank you! This shortens things quite a bit[1] [1] https://github.com/openjdk/jdk/commit/bb65fc8551ae759df88171463445ecdb9676eed3 ------------- PR Comment: https://git.openjdk.org/jdk/pull/18112#issuecomment-1982286476