Add helper to only read stderr

This commit is contained in:
crschnick 2024-01-30 10:49:08 +00:00
parent 8a7669e832
commit 404a6e1948

View file

@ -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);