Loading src/ScriptManager.cpp +13 −10 Original line number Diff line number Diff line Loading @@ -108,6 +108,8 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath) std::string result = exec(command.str()); if(result.find("PROCESS OK") == std::string::npos) { if(result.find("PROCESS FATAL") != std::string::npos) { std::stringstream errorStream; Loading @@ -121,6 +123,7 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath) throw std::runtime_error(errorStream.str()); } } } //============================================================================== // ScriptManager::exec() Loading src/WorkerThread.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,8 @@ void WorkerThread::workerLoop() } while(boost::chrono::steady_clock::now()-start <= waitTime); m_fileManager_sp->preProcessFile(origPath); copyToDestination(origPath); if(verified) Loading Loading
src/ScriptManager.cpp +13 −10 Original line number Diff line number Diff line Loading @@ -108,6 +108,8 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath) std::string result = exec(command.str()); if(result.find("PROCESS OK") == std::string::npos) { if(result.find("PROCESS FATAL") != std::string::npos) { std::stringstream errorStream; Loading @@ -121,6 +123,7 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath) throw std::runtime_error(errorStream.str()); } } } //============================================================================== // ScriptManager::exec() Loading
src/WorkerThread.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -75,6 +75,8 @@ void WorkerThread::workerLoop() } while(boost::chrono::steady_clock::now()-start <= waitTime); m_fileManager_sp->preProcessFile(origPath); copyToDestination(origPath); if(verified) Loading