int Booster::launchProcess() { setEnvironmentBeforeLaunch(); // Load the application and find out the address of main() loadMain(); // make booster specific initializations unless booster is in boot mode if (!m_bootMode) preinit(); #ifdef WITH_COVERAGE __gcov_flush(); #endif // Close syslog closelog(); // Jump to main() const int retVal = m_appData->entry()(m_appData->argc(), const_cast<char **>(m_appData->argv())); #ifdef WITH_COVERAGE __gcov_flush(); #endif return retVal; }
void DebuggingOptions::load(const string &filename) { //checkCurDir(); //checkFile(filename); //loadDebug(filename); // loadPets(filename); //loadOptions(filename); loadMain(filename); }