diff options
author | Reimar Döffinger <brouwer@annejan.com> | 2015-06-14 18:43:22 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2015-06-14 18:43:22 +0200 |
commit | 009dca9b5ab5377adf41bf5ed5b3344c937a19c3 (patch) | |
tree | 0f8143000ffa564b60e42571c8645412adf2c536 /mainwindow.cpp | |
parent | d6bbc89ecc32c0b17e7bfff3db1c9445ede54755 (diff) |
Convert binary path to absolute before running.
Diffstat (limited to 'mainwindow.cpp')
-rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index a2b3e32a..cc39d347 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -454,6 +454,8 @@ void MainWindow::executePass(QString args, QString input) { * @param args */ void MainWindow::executeWrapper(QString app, QString args, QString input) { + // Convert to absolute path, just in case + app = QDir(QCoreApplication::applicationDirPath()).absoluteFilePath(app); if (wrapperRunning) { execQueueItem item; item.app = app; |