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) {