AppRunner Class Reference

List of all members.

Static Public Member Functions

static void cleanArguments (QStringList &args)
static Message runExecutable (const CommandLineInfo &cmdInfo)

Member Function Documentation

void AppRunner::cleanArguments ( QStringList &  args  )  [static]

On Windows this removes any wrapping " chars.

Explanation: Draft from Qt documentation on QProcess::startDetached: "On Windows, arguments that contain spaces are wrapped in quotes." Thus, on Windows we must unwrap the arguments that are wrapped in quotes because thing like +sv_hostname "Started from Doomseeker" won't work properly and a server with empty name will be started.


The documentation for this class was generated from the following files: