Static Public Member Functions | |
static void | cleanArguments (QStringList &args) |
On Windows this removes any wrapping " chars. More... | |
static Message | runExecutable (const CommandLineInfo &cmdInfo) |
static void | runExecutableWrappedInStandardServerConsole (const QIcon &icon, const CommandLineInfo &cli) |
Executes predefined command line. More... | |
Definition at line 53 of file apprunner.h.
|
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.
Definition at line 36 of file apprunner.cpp.
|
static |
Executes predefined command line.
Doomseeker will attempt to wrap the input/output of the program with it's own console
icon | Optional icon for the console window. |
cli | Command line that will be executed. |
Definition at line 111 of file apprunner.cpp.