public interface TtyExecErrorable extends TtyExecErrorChannelable
| Modifier and Type | Method and Description |
|---|---|
TtyExecErrorChannelable |
redirectingError()
Will provide an
InputStream via ExecWatch.getError() |
TtyExecErrorChannelable |
terminateOnError()
If the
ExecWatch should terminate when a stdErr message is received. |
TtyExecErrorChannelable |
writingError(OutputStream in)
Should only be called with a minimally blocking or non-blocking stream
|
redirectingErrorChannel, writingErrorChannelwithTTYusingListenerattach, exec, withReadyWaitTimeoutTtyExecErrorChannelable writingError(OutputStream in)
In particular do no use a PipedOutputStream - use redirectingError() instead
TtyExecErrorChannelable terminateOnError()
ExecWatch should terminate when a stdErr message is received.
The message will be provided as an exceptional outcome of ExecWatch.exitCode()TtyExecErrorChannelable redirectingError()
InputStream via ExecWatch.getError()
WARNING: the resulting stream must be fully read or closed for other events to be processed properly
Copyright © 2015–2023 Red Hat. All rights reserved.