https://bugs.kde.org/show_bug.cgi?id=504753
Waqar Ahmed <waqar....@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Waqar Ahmed <waqar....@gmail.com> --- > Thank you for the easier workaround. That said, I'm reopening this because it > is, in the end, only a workaround. Well, this is the solution we have for now. We tried many other things but there are issues such as path precedence among other things that I dont recall. There were almost 0 documentation that I found on how to do this properly. If you have a better solution or a way to fix the problem, then we accept patches here: https://invent.kde.org/utilities/kate/-/merge_requests. > "This list will be prepended to your PATH environment variable", which simply > isn't true right now. It kind of is in a way as the PATH isn't what you would find in your shell. The PATH env var here refers to the data returned by: int mib[2] = {CTL_USER, USER_CS_PATH}; size_t len = 0; sysctl(mib, 2, nullptr, &len, nullptr, 0); QByteArray path(len, '\0'); sysctl(mib, 2, &path[0], &len, nullptr, 0); Sorry, this is it for now unless someone comes with a better solution. *** This bug has been marked as a duplicate of bug 490926 *** -- You are receiving this mail because: You are watching all bug changes.