|
@@ -105,7 +105,8 @@ export function nodeCheckProcess() {
|
|
.nodeRequire("child_process")
|
|
.nodeRequire("child_process")
|
|
.execSync("cmd /c chcp 65001>nul && tasklist /FO CSV")
|
|
.execSync("cmd /c chcp 65001>nul && tasklist /FO CSV")
|
|
.toString();
|
|
.toString();
|
|
- console.log(appList);
|
|
|
|
|
|
+ // 不能打印,electron-log 不能接收
|
|
|
|
+ // console.log(appList);
|
|
appList = appList.split("\r\n");
|
|
appList = appList.split("\r\n");
|
|
appList.shift();
|
|
appList.shift();
|
|
appList = appList.map((v) => v.split(",")[0]);
|
|
appList = appList.map((v) => v.split(",")[0]);
|
|
@@ -114,7 +115,7 @@ export function nodeCheckProcess() {
|
|
createLog({
|
|
createLog({
|
|
page: window.location.pathname,
|
|
page: window.location.pathname,
|
|
action: "nodeCheckProcess",
|
|
action: "nodeCheckProcess",
|
|
- xorRes,
|
|
|
|
|
|
+ xorRes: xorRes.join(" ||| "),
|
|
});
|
|
});
|
|
}
|
|
}
|
|
previousAppList = appList;
|
|
previousAppList = appList;
|