Bug #869 » 0003-Azoth-SHX-try-to-use-cmd.exe-on-Windows-platform.patch
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 ()
|