mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Convert to native separators before passing filename to Win32 APIs
This commit is contained in:
@@ -833,7 +833,7 @@ bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList &par
|
||||
{
|
||||
#if defined(Q_OS_WIN32)
|
||||
|
||||
std::wstring wideExe = fullExecutablePath.toStdWString();
|
||||
std::wstring wideExe = QDir::toNativeSeparators(fullExecutablePath).toStdWString();
|
||||
std::wstring wideParams = params.join(QLatin1Char(' ')).toStdWString();
|
||||
|
||||
SHELLEXECUTEINFOW info = {};
|
||||
|
||||
Reference in New Issue
Block a user