Windows: the qt GUI builds with Qt/MinGW. No link.

This commit is contained in:
Jean-Francois Dockes
2015-10-02 18:30:13 +02:00
parent 374f775092
commit c2e8d451e4
12 changed files with 322 additions and 15 deletions
+8
View File
@@ -190,6 +190,14 @@ void ExecCmd::zapChild()
(void)wait();
}
bool ExecCmd::requestChildExit()
{
if (m->m_pid > 0) {
if (kill(m->m_pid, SIGTERM) == 0)
return true;
}
return false;
}
/* From FreeBSD's which command */
static bool exec_is_there(const char *candidate)