From 73fd215b21447023cb124162f8304f2f67fef783 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 --HG-- branch : develop --- 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;