summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2015-06-14 18:43:22 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2015-06-14 18:43:22 +0200
commitd7f7fa1f8cc8a5a5ee52ff09bf281366b9ccd3db (patch)
tree0f8143000ffa564b60e42571c8645412adf2c536
parentc6e4e9baf9aeca424d02f134f04cf0fe131fd37b (diff)
Convert binary path to absolute before running.
-rw-r--r--mainwindow.cpp2
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;