src/main/java/com/se/simu/service/UwService.java
@@ -6,7 +6,6 @@ import com.se.simu.domain.po.DataPo; import com.se.simu.helper.StringHelper; import com.se.simu.helper.WebHelper; import com.sun.xml.internal.messaging.saaj.util.TeeInputStream; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Service; import com.se.simu.Rainfall; @@ -140,8 +139,9 @@ } /** * 执行命令行,并等待命令执行完毕 * 执行命令行,并等待命令执行完毕 * * https://www.cnblogs.com/stars-one/p/16482964.html * @param cmd 命令,window记得要使用cmd /c开头,如cmd /c ipconfig * @throws IOException * @throws InterruptedException