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

Comparing Vago/trunk/Vago/converter.cpp (file contents):
Revision 897 by s10k, Wed Jan 8 11:32:55 2014 UTC vs.
Revision 1035 by s10k, Thu Mar 24 22:28:41 2016 UTC

# Line 15 | Line 15 | void Converter::run()
15      QString errorMessage = "";
16      int numErrors=0;
17  
18 +    this->myLogger->writeString("Setting working dir. to "+this->AppDir+".");
19      myProcess->setWorkingDirectory(this->AppDir); // Set working directory (for work with AEI2/Mac OS)
20  
21      if(this->myData->size()!=1){
# Line 35 | Line 36 | void Converter::run()
36              nextIndex=commands.indexOf(GlobalVars::OniSplitProcSeparator,currentIndex+1);
37  
38              commandToExec=commands.mid(currentIndex,(nextIndex-currentIndex));
39 <            this->myProcess->start(GlobalVars::OniSplitExeName+" "+commandToExec);
39 >            this->myProcess->start(Util::getOniSplitExeName() +" "+commandToExec);
40              this->myProcess->waitForFinished(-1);
41  
42              if(this->processHasKilled){ // If the process has killed there's no need to proceed with reading output or process more commands

Diff Legend

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