From fc8ab1b3af855eb9e22142bcd637c054e720d236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 15 Oct 2021 11:16:15 +0200 Subject: [PATCH] Addon; Determine proper full path for 'executable' addon --- lib/cppcheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 7cee50d12..7c5eb7601 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -131,7 +131,7 @@ namespace { if (obj.count("executable")) { if (!obj["executable"].is()) return "Loading " + fileName + " failed. executable must be a string."; - executable = obj["executable"].get(); + executable = getFullPath(obj["executable"].get(), exename); return ""; }