// // Created by Tobias Hieta on 15/05/15. // #include "PlatformUtils.h" #ifdef Q_OS_UNIX #include #endif bool PlatformUtils::isProcessAlive(Q_PID pid) { #ifdef Q_OS_UNIX int ret = kill(pid, 0); return ret == 0; #endif return false; }