From 79a1c3af8aed91fc6298cd17aff2592cd9a3e0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=9E=E5=BA=90?= <109708109+CiiLu@users.noreply.github.com> Date: Sun, 25 Jan 2026 15:30:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(SystemUtils)=20:=20=E7=A7=BB=E9=99=A4=20`re?= =?UTF-8?q?directInput(ProcessBuilder.Redirect.DISCARD)`=20(#5325)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/jackhuang/hmcl/util/platform/SystemUtils.java | 1 - 1 file changed, 1 deletion(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/platform/SystemUtils.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/platform/SystemUtils.java index 6e642be2e..2675d1046 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/platform/SystemUtils.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/platform/SystemUtils.java @@ -82,7 +82,6 @@ public final class SystemUtils { public static T run(List command, ExceptionalFunction convert) throws Exception { Process process = new ProcessBuilder(command) - .redirectInput(ProcessBuilder.Redirect.DISCARD) .redirectError(ProcessBuilder.Redirect.DISCARD) .start(); try {