logic: fix maven detection was slow when no maven installed on windows system
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user