- fixes & improvements to helper libraries

This commit is contained in:
2019-01-31 10:11:16 +03:00
parent e83f717076
commit 694ced4d25
4 changed files with 37 additions and 3 deletions

View File

@@ -14,6 +14,10 @@ public:
std::function<void(const std::string& line)> line_callback,
std::function<void(const std::string& reason)> finished_callback,
bool& finish_flag);
#if defined(TARGET_OSX) || defined(TARGET_LINUX)
static pid_t findPid(const std::string& cmdline);
static void killByPid(pid_t pid);
#endif
};