From 6f60a474cdeb139768be9e98a66524ef717f09f6 Mon Sep 17 00:00:00 2001 From: 18616268358 <1440265357@qq.com> Date: Tue, 9 May 2023 09:37:55 +0800 Subject: [PATCH] =?UTF-8?q?#20230506=20=E6=AC=A3=E5=BD=B1=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=B9=B3=E5=8F=B0=E6=8B=8D=E7=85=A7=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/shxy/xymanager_common/util/ProcessExecUtils.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xymanager_common/src/main/java/com/shxy/xymanager_common/util/ProcessExecUtils.java b/xymanager_common/src/main/java/com/shxy/xymanager_common/util/ProcessExecUtils.java index c4c8418..1fc62c5 100644 --- a/xymanager_common/src/main/java/com/shxy/xymanager_common/util/ProcessExecUtils.java +++ b/xymanager_common/src/main/java/com/shxy/xymanager_common/util/ProcessExecUtils.java @@ -10,7 +10,7 @@ import java.util.UUID; /** * - * 上传文件 + * 执行指令 * @author cy */ @Slf4j @@ -18,7 +18,7 @@ public class ProcessExecUtils { /** - * 上传文件 + * 执行指令 * */ public static Integer exec(String cmd) { @@ -38,7 +38,6 @@ public class ProcessExecUtils if(StringUtils.isNotBlank(result)){ log.info("查询最新结果:{}",result); } - result = sb.toString(); } catch (IOException e) { log.error("IOException",e); } catch (InterruptedException e) {