--- Vago/trunk/Vago/manualcommands.cpp 2016/03/24 22:28:41 1035 +++ Vago/trunk/Vago/manualcommands.cpp 2016/09/16 22:51:26 1047 @@ -10,7 +10,7 @@ ManualCommands::ManualCommands(QWidget * this->setAttribute(Qt::WA_DeleteOnClose,true); //destroy itself once finished. this->myProcess = new QProcess(); this->myProcess->setProcessChannelMode(QProcess::MergedChannels); - this->myProcess->setWorkingDirectory(Util::getAppPath()); + this->myProcess->setWorkingDirectory(UtilVago::getAppPath()); ui->leManualCommand->installEventFilter(this); this->nextInsertHistoryIdx=0; @@ -61,9 +61,9 @@ void ManualCommands::executeCommand(){ } } - QString var = Util::getOniSplitExeName() +" "+ui->leManualCommand->text(); + QString var = UtilVago::getOniSplitExeAbsolutePath() +" "+ui->leManualCommand->text(); - this->myProcess->start(Util::getOniSplitExeName()+" "+ui->leManualCommand->text()); + this->myProcess->start(UtilVago::getOniSplitExeAbsolutePath()+" "+ui->leManualCommand->text()); this->myProcess->waitForFinished(120000); //wait 2 minutes at maximum ui->ptOutput->appendPlainText("> "+command); ui->ptOutput->appendPlainText(this->myProcess->readAll());