mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 19:08:18 +08:00
merge changelog
This commit is contained in:
parent
92a1fc3874
commit
baf99045d3
@ -1,7 +1,7 @@
|
||||
package io.jpom.controller.system;
|
||||
|
||||
import cn.hutool.core.io.FileUtil;
|
||||
import cn.hutool.core.text.StrSpliter;
|
||||
import cn.hutool.core.text.StrSplitter;
|
||||
import cn.hutool.core.util.CharsetUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import cn.hutool.system.SystemUtil;
|
||||
@ -321,7 +321,7 @@ public class NginxController extends BaseAgentController {
|
||||
checkResult = CommandUtil.execSystemCommand(StrUtil.format("{} -t", name));
|
||||
} else if (SystemUtil.getOsInfo().isWindows()) {
|
||||
checkResult = CommandUtil.execSystemCommand("sc qc " + name);
|
||||
List<String> strings = StrSpliter.splitTrim(checkResult, "\n", true);
|
||||
List<String> strings = StrSplitter.splitTrim(checkResult, "\n", true);
|
||||
//服务路径
|
||||
File file = null;
|
||||
for (String str : strings) {
|
||||
|
Loading…
Reference in New Issue
Block a user