Commit cb8700c3 authored by Marco De Marco's avatar Marco De Marco
Browse files

Pre processor call fix added

parent 6c9ff033
Loading
Loading
Loading
Loading
+13 −10
Original line number Diff line number Diff line
@@ -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;
@@ -121,6 +123,7 @@ void ScriptManager::preProcessFile(boost::filesystem::path& filePath)
            throw std::runtime_error(errorStream.str());
        }
    }
}

//==============================================================================
//	ScriptManager::exec()
+2 −0
Original line number Diff line number Diff line
@@ -75,6 +75,8 @@ void WorkerThread::workerLoop()
                }
                while(boost::chrono::steady_clock::now()-start <= waitTime);

                m_fileManager_sp->preProcessFile(origPath);

                copyToDestination(origPath);

                if(verified)