| 23 |
|
QString errorMessage = ""; |
| 24 |
|
int numErrors=0; |
| 25 |
|
|
| 26 |
< |
this->myLogger->writeString("Setting working dir to "+this->AppDir+"."); |
| 26 |
> |
this->myLogger->writeString("Setting OniSplit process working dir to "+this->AppDir+"."); |
| 27 |
|
myProcess->setWorkingDirectory(this->AppDir); // Set working directory (for work with AEI2/Mac OS) |
| 28 |
|
|
| 29 |
|
#ifdef Q_OS_WIN |
| 61 |
|
nextIndex=commands.indexOf(GlobalVars::OniSplitProcSeparator,currentIndex+1); |
| 62 |
|
|
| 63 |
|
commandToExec=commands.mid(currentIndex,(nextIndex-currentIndex)); |
| 64 |
< |
this->myProcess->start(UtilVago::getOniSplitExeAbsolutePath() + " " + commandToExec); |
| 64 |
> |
this->myProcess->start(UtilVago::getOniSplitExecutable() + " " + commandToExec); |
| 65 |
|
this->myProcess->waitForFinished(-1); |
| 66 |
|
|
| 67 |
|
if(this->processHasKilled){ // If the process has killed there's no need to proceed with reading output or process more commands |