#pragma once #if (defined _WIN32 || defined _WIN64) #include #include #endif #include #include #include #if(defined _WIN32 || defined _WIN64) bool KillProcessById(DWORD pID); std::tuple startProcessInJob(std::string program, std::string args); std::pair StartProcess(std::string program, std::string args, BOOL isEnum); HWND GetWindowHwndByPID(DWORD dwProcessID); std::pair assigntoJob(HANDLE process, int pid); #else std::tuple startProcessInJob(std::string program, std::string args); std::pair assigntoJob(long process, int pid); #endif