From 85f4262787d8e6757f8b9033be5678eff4e3c4c8 Mon Sep 17 00:00:00 2001 From: malte_langkabel Date: Mon, 10 Apr 2017 15:41:39 +0200 Subject: [PATCH] logic: fix maven detection was slow when no maven installed on windows system --- .../path_detector/maven_executable/MavenPathDetectorWindows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib_gui/utility/path_detector/maven_executable/MavenPathDetectorWindows.cpp b/src/lib_gui/utility/path_detector/maven_executable/MavenPathDetectorWindows.cpp index a704f060..6f303665 100644 --- a/src/lib_gui/utility/path_detector/maven_executable/MavenPathDetectorWindows.cpp +++ b/src/lib_gui/utility/path_detector/maven_executable/MavenPathDetectorWindows.cpp @@ -13,7 +13,7 @@ MavenPathDetectorWindows::~MavenPathDetectorWindows() std::vector 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 paths;