aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/system
diff options
context:
space:
mode:
authorGravatar Fabio Bas2009-06-21 16:38:55 +0000
committerGravatar Fabio Bas2009-06-21 16:38:55 +0000
commita4d091bcc42a7d5b0db8f6d2fd1b1fb1de238b48 (patch)
tree1e9f76490a79a356cc3fbf86c99a341fd829dadd /src/modules/system
parenttest again (diff)
downloadKVIrc-a4d091bcc42a7d5b0db8f6d2fd1b1fb1de238b48.tar.gz
KVIrc-a4d091bcc42a7d5b0db8f6d2fd1b1fb1de238b48.tar.bz2
KVIrc-a4d091bcc42a7d5b0db8f6d2fd1b1fb1de238b48.zip
fixed system.runcmd on win32/mingw
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3262 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/system')
-rw-r--r--src/modules/system/libkvisystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/system/libkvisystem.cpp b/src/modules/system/libkvisystem.cpp
index d3a14e947..364079740 100644
--- a/src/modules/system/libkvisystem.cpp
+++ b/src/modules/system/libkvisystem.cpp
@@ -716,7 +716,7 @@ static bool system_kvs_cmd_runcmd(KviKvsModuleCommandCall *c)
QProcess oProc;
QStringList args;
QStringList szTerminals;
-#ifdef COMPILE_ON_WINDOWS // Only »cmd.exe /k« in the list.
+#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW) // Only »cmd.exe /k« in the list.
szTerminals.append("cmd.exe");
args << "/k" << szCommand;
#else