*/
void QKernel::loadConfig(const char * fname)
{
- fprintf(stderr, "2: %s\n", fname);
config_t cfg;
config_setting_t *setting;
WriteMessage("Executing logedit failed!");
}
}
+ else if (pid < 0) {
+ WriteMessage("fork(logedit) failed!");
+ WriteMessage("Exiting...");
+ sleep(2);
+ on_actionQuit_triggered();
+ exit(3);
+ }
}
/**
WriteMessage("Executing loghelp failed!");
}
}
+ else if (pid < 0) {
+ WriteMessage("fork(loghelp) failed!");
+ WriteMessage("Exiting...");
+ sleep(2);
+ on_actionQuit_triggered();
+ exit(3);
+ }
}
/**
QString program = getHomeDir();
program += "/modules/loggraph";
+
pid_t pid = fork();
if (pid == 0) {
if (execl(program.toStdString().c_str(),