| 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){ |
| 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 |