|
@@ -370,7 +370,6 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
|
|
|
// InputStream fis = p.getInputStream();
|
|
|
// InputStreamReader isr = new InputStreamReader(fis);
|
|
|
// BufferedReader br = new BufferedReader(isr);
|
|
|
-
|
|
|
Process process = processBuilder.start();
|
|
|
|
|
|
// 读取命令的输出
|
|
@@ -389,7 +388,7 @@ public class D00008Service extends D00008BaseModel implements ExecProcessFlow {
|
|
|
// saveWayValue(aid,jid);
|
|
|
// JobSucces(jid);
|
|
|
LogService.addLog(aid,jid,"Water","求解——————————————————成功");
|
|
|
- } catch (IOException | BusinessException | InterruptedException e) {
|
|
|
+ } catch (IOException | InterruptedException e) {
|
|
|
LogService.addLog(aid,jid,"Water","求解——————————————————失败");
|
|
|
JobError(jid);
|
|
|
e.printStackTrace();
|