mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Add helper to only read stderr
This commit is contained in:
parent
8a7669e832
commit
404a6e1948
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ public interface CommandControl extends ProcessControl {
|
|||
|
||||
String readStdoutDiscardErr() throws Exception;
|
||||
|
||||
String readStderrDiscardStdout() throws Exception;
|
||||
|
||||
void discardOrThrow() throws Exception;
|
||||
|
||||
void accumulateStdout(Consumer<String> con);
|
||||
|
|
Loading…
Reference in a new issue