diff --git a/core/src/main/java/io/xpipe/core/process/CommandControl.java b/core/src/main/java/io/xpipe/core/process/CommandControl.java index 879c90bd..06aa1877 100644 --- a/core/src/main/java/io/xpipe/core/process/CommandControl.java +++ b/core/src/main/java/io/xpipe/core/process/CommandControl.java @@ -81,6 +81,8 @@ public interface CommandControl extends ProcessControl { String readStdoutDiscardErr() throws Exception; + String readStderrDiscardStdout() throws Exception; + void discardOrThrow() throws Exception; void accumulateStdout(Consumer con);