mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Fix build with Clang on Windows
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
#include "blackmisc/processctrl.h"
|
||||
#include "blackmisc/logmessage.h"
|
||||
|
||||
#include <QStringBuilder>
|
||||
#include <array>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
@@ -36,7 +36,7 @@ namespace BlackMisc
|
||||
QString command = '"' % QString(program).replace('/', '\\') % '"';
|
||||
if (!arguments.isEmpty())
|
||||
{
|
||||
command += " \"" % arguments.join('" "').replace('/', '\\') % '"';
|
||||
command += " \"" % arguments.join("\" \"").replace('/', '\\') % '"';
|
||||
}
|
||||
|
||||
DWORD flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user