fix escaping in mvn path detector (necessary after 8b8c1866)

This commit is contained in:
mlangkabel
2020-11-18 17:44:32 +01:00
parent d3873213f1
commit fcd2f33304
@@ -7,7 +7,9 @@ MavenPathDetectorWindows::MavenPathDetectorWindows(): PathDetector("Maven for Wi
std::vector<FilePath> MavenPathDetectorWindows::doGetPaths() const
{
FilePath mavenPath(utility::executeProcess(L"cmd", std::vector<std::wstring>{L"/c where mvn.cmd && exit"}).second);
FilePath mavenPath(
utility::executeProcess(L"cmd", std::vector<std::wstring> {L"\"/c where mvn.cmd && exit\""})
.second);
std::vector<FilePath> paths;
if (mavenPath.exists())