From 353458b28a66600b33e5bc069f062e5ce6a8a5c9 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 10 Oct 2016 18:54:03 +0200 Subject: [PATCH] Fixed: Use exec instead of open to launch an executable under OS X --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index de967b4f8..8fadb4610 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -329,8 +329,8 @@ bool createShortcut(const QString &shortcut, const QString &name, const QString QMap strings; // build command - QString command = QString("open \"%1\"").arg(executable); - if (!arguments.isEmpty()) command += " --args " + arguments; + QString command = QString("exec \"%1\"").arg(executable); + if (!arguments.isEmpty()) command += " " + arguments; strings.clear(); strings["COMMAND"] = command;