Commit a83d1383 by guo_minglei@163.com

将杀死的退出状态设置为-100

parent 994e5460
......@@ -224,6 +224,8 @@ public class MythJobProcess implements Callable<String>{
log.error("尝试杀死失败.", e);
}
}
//如果是杀死将退出值改为-100
exitCode = -100;
return false;
}else {
throw new IllegalStateException("程序不在运行中");
......@@ -255,6 +257,8 @@ public class MythJobProcess implements Callable<String>{
}
}
this.process.destroy();
//如果是杀死将退出值改为-100
exitCode = -100;
}else {
throw new IllegalStateException("程序不在运行中");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment