logic: fix maven detection was slow when no maven installed on windows system

This commit is contained in:
malte_langkabel
2017-04-10 15:41:39 +02:00
parent 635bf70076
commit 85f4262787
@@ -13,7 +13,7 @@ MavenPathDetectorWindows::~MavenPathDetectorWindows()
std::vector<FilePath> MavenPathDetectorWindows::getPaths() const
{
std::string command = "cmd /k where mvn.cmd && exit";
std::string command = "cmd /c where mvn.cmd && exit";
FilePath mavenPath(utility::executeProcess(command.c_str()));
std::vector<FilePath> paths;