fix escaping in mvn path detector (necessary after 8b8c1866)
This commit is contained in:
@@ -7,7 +7,9 @@ MavenPathDetectorWindows::MavenPathDetectorWindows(): PathDetector("Maven for Wi
|
|||||||
|
|
||||||
std::vector<FilePath> MavenPathDetectorWindows::doGetPaths() const
|
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;
|
std::vector<FilePath> paths;
|
||||||
if (mavenPath.exists())
|
if (mavenPath.exists())
|
||||||
|
|||||||
Reference in New Issue
Block a user