diff --git a/src/base/process.cpp b/src/base/process.cpp index c13c21cd0..678cc68c2 100644 --- a/src/base/process.cpp +++ b/src/base/process.cpp @@ -13,6 +13,7 @@ #ifdef _WIN32 #include #else +#include #include #include #endif @@ -51,7 +52,7 @@ pid get_current_process_id() bool is_process_running(pid pid) { - // TODO + return (kill(pid, 0) == 0); } #endif