[*] 日常优化

This commit is contained in:
acgist
2023-12-11 07:34:03 +08:00
parent afe92f49bf
commit 2899669443

View File

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