From 2899669443c03b2cee12423ffaaae8bdebf98c81 Mon Sep 17 00:00:00 2001 From: acgist <289547414@qq.com> Date: Mon, 11 Dec 2023 07:34:03 +0800 Subject: [PATCH] =?UTF-8?q?[*]=20=E6=97=A5=E5=B8=B8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/acgist/taoyao/boot/utils/ScriptUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taoyao-signal-server/taoyao-boot/src/main/java/com/acgist/taoyao/boot/utils/ScriptUtils.java b/taoyao-signal-server/taoyao-boot/src/main/java/com/acgist/taoyao/boot/utils/ScriptUtils.java index 50fe166..624d5af 100644 --- a/taoyao-signal-server/taoyao-boot/src/main/java/com/acgist/taoyao/boot/utils/ScriptUtils.java +++ b/taoyao-signal-server/taoyao-boot/src/main/java/com/acgist/taoyao/boot/utils/ScriptUtils.java @@ -109,7 +109,7 @@ public final class ScriptUtils { * @throws IOException IO异常 * @throws InterruptedException 线程异常 */ - public void execute() throws InterruptedException, IOException { + public void execute() throws IOException, InterruptedException { final boolean linux = FileUtils.linux(); if(linux) { this.processBuilder = new ProcessBuilder("/bin/bash", "-c", this.script);