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;