diff --git a/src/engine/helper/HL_Process.cpp b/src/engine/helper/HL_Process.cpp index 6cbd25c7..e1b9b5be 100644 --- a/src/engine/helper/HL_Process.cpp +++ b/src/engine/helper/HL_Process.cpp @@ -331,7 +331,7 @@ void OsProcess::killByPid(pid_t pid) { if (pid <= 0) return; - execSystem("kill " + std::to_string(pid)); + execSystem("kill -9 " + std::to_string(pid) + " &"); } #endif