|
@@ -358,7 +358,7 @@ async function closeAppAll() {
|
|
// });
|
|
// });
|
|
// }
|
|
// }
|
|
// });
|
|
// });
|
|
- execSync(`sudo kill $(pgrep -f "^\.\/rust\/.*\/4l_as_")`, (error, stdout, stderr) => {
|
|
|
|
|
|
+ execSync(`sudo kill $(pgrep -f "^.*\/4l_as_")`, (error, stdout, stderr) => {
|
|
if (error) {
|
|
if (error) {
|
|
logger.error(`进程${pid} 杀死失败: ${error}`);
|
|
logger.error(`进程${pid} 杀死失败: ${error}`);
|
|
}
|
|
}
|