-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
使用最新版的electron, 在点击X关闭应用时控制台报错ERROR: The process "10304" not found.
问题出在以下代码标注的位置
function treeKillSync(pid) {
if (process.platform === "win32") {
报错的位置:cp.execSync(taskkill /pid ${pid} /T /F
);
} else {
killTree(pidTree({ pid, ppid: process.pid }));
}
}
降低electron版本,报错消失;不清楚问题具体出在哪里,虽然不影响项目运行,但还是希望可以尽快修复,感谢~
Metadata
Metadata
Assignees
Labels
No labels