ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/xmlprocessor.cpp
(Generate patch)

Comparing Vago/trunk/Vago/xmlprocessor.cpp (file contents):
Revision 771 by s10k, Sun Mar 31 19:02:16 2013 UTC vs.
Revision 1035 by s10k, Thu Mar 24 22:28:41 2016 UTC

# Line 1 | Line 1
1   #include "xmlprocessor.h"
2  
3 < XmlProcessor::XmlProcessor(Logger *myLogger, QStringList *commands)
3 > XmlProcessor::XmlProcessor(QString AppDir, Logger *myLogger, QStringList *commands)
4   {
5 +    this->AppDir=AppDir;
6      this->myLogger=myLogger;
7      this->commands=commands;
8   }
# Line 13 | Line 14 | void XmlProcessor::run()
14      QString errorMessage = "";
15      int numErrors=0;
16  
17 +    myProcess->setWorkingDirectory(this->AppDir);
18 +
19      for(int i=0; i<this->commands->size(); i++){
20  
21 <        myProcess->start(GlobalVars::XmlToolsExeName+" "+this->commands->at(i));
21 >        myProcess->start(Util::getXmlToolsExeName() +" "+this->commands->at(i));
22          myProcess->waitForFinished(-1);
23          result=myProcess->readAllStandardError();
24  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)