Project

General

Profile

Bug #869 » 0003-Azoth-SHX-try-to-use-cmd.exe-on-Windows-platform.patch

DJm00n, 11/21/2012 12:01 AM

View differences:

src/plugins/azoth/plugins/shx/shx.cpp
SIGNAL (finished (int, QProcess::ExitStatus)),
this,
SLOT (handleFinished ()));
#ifdef Q_OS_WIN32
proc->start ("cmd.exe", QStringList () << "/C" << text);
#else
proc->start ("/bin/sh", { "-c", text });
#endif
}
void Plugin::handleFinished ()
(9-9/13)