mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-19 22:01:12 +00:00
Add helper to only read stderr
This commit is contained in:
parent
8a7669e832
commit
404a6e1948
|
@ -81,6 +81,8 @@ public interface CommandControl extends ProcessControl {
|
||||||
|
|
||||||
String readStdoutDiscardErr() throws Exception;
|
String readStdoutDiscardErr() throws Exception;
|
||||||
|
|
||||||
|
String readStderrDiscardStdout() throws Exception;
|
||||||
|
|
||||||
void discardOrThrow() throws Exception;
|
void discardOrThrow() throws Exception;
|
||||||
|
|
||||||
void accumulateStdout(Consumer<String> con);
|
void accumulateStdout(Consumer<String> con);
|
||||||
|
|
Loading…
Reference in a new issue