use exec except of system() to start external viewer

This commit is contained in:
Jean-Francois Dockes
2010-09-27 17:41:54 +02:00
parent c9a0172d58
commit fd0cdcbdcf
4 changed files with 34 additions and 23 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ public:
~ExecCmdRsrc() {
if (!m_active || !m_parent)
return;
LOGDEB0(("~ExecCmdRsrc: working\n"));
LOGDEB1(("~ExecCmdRsrc: working. mypid: %d\n", (int)getpid()));
int status;
if (m_parent->m_pid > 0) {
LOGDEB(("ExecCmd: killing cmd\n"));