23 #include "commandline.h"
25 #include "apprunner.h"
30 QStringList::iterator it;
31 for (it = args.begin(); it != args.end(); ++it)
42 arg.replace(
'"',
"\\\"");
50 arg.replace(
'\'',
"'\\''");
59 QFileInfo binary = arg;
61 arg += AppRunner::findBundleBinary(binary);
static void escapeArg(QString &arg)
Escapes all characters in the passed string.
static void escapeExecutable(QString &arg)
Escapes the executable path and handles OS X bundles.
static void escapeArgs(QStringList &args)
Escapes all characters in all strings on the list.