start And Wait For Console Message Max Ms
public abstract boolean startAndWaitForConsoleMessageMaxMs(String messageInConsole, long maxWaitUntilReturning)
Starts the process and waits until a specific message appears in the process console output (stdout or stderr), or the timeout elapses.
Return
true if the message was seen before the timeout; false if timed out
Parameters
message In Console
the text to wait for in the console output
max Wait Until Returning
maximum time to wait in milliseconds before giving up
Throws
if closing/decoding console streams fails while waiting
if the waiting thread is interrupted