--no-server parameter to avoid server ipc occupied by ui (#9272)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages authored and GitHub committed 2024-09-06 14:43:38 +08:00
1 parent aa3402b44a
commit f0ca4b9fee
5 files changed
+33 -18

No files matched your search

+1
View File
@@ -1378,6 +1378,7 @@ pub fn uninstall_service(show_new_window: bool, _: bool) -> bool {
Config::set_option("stop-service".into(), "".into());
return true;
}
// systemctl stop will kill child processes, below may not be executed.
if show_new_window {
run_me_with(2);
}