generated from root/miduo_server
master
parent
23ca1edfad
commit
bc87a6ac99
|
|
@ -263,9 +263,9 @@ public class ServerInfoController {
|
||||||
try {
|
try {
|
||||||
Process exec = Runtime.getRuntime().exec(command);
|
Process exec = Runtime.getRuntime().exec(command);
|
||||||
LOGGER.info("========================== 停服脚本执行结果开始 ===========================");
|
LOGGER.info("========================== 停服脚本执行结果开始 ===========================");
|
||||||
new DealProcessSream(exec.getInputStream()).start();
|
// new DealProcessSream(exec.getInputStream()).start();
|
||||||
LOGGER.info("=========================== 停服脚本执行结果结束 ==========================");
|
LOGGER.info("=========================== 停服脚本执行结果结束 ==========================");
|
||||||
exec.waitFor();
|
// exec.waitFor();
|
||||||
wait = 0;
|
wait = 0;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue