Skip to content

Commit e3c636d

Browse files
committed
gh-1036: Suppress elevation requests when scanning %path% for executables
1 parent 8054537 commit e3c636d

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

far/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
--------------------------------------------------------------------------------
2+
drkns 2025-11-01 19:50:42+00:00 - build 6579
3+
4+
1. gh-1036: Suppress elevation requests when scanning %path% for executables.
5+
16
--------------------------------------------------------------------------------
27
shmuel 2025-10-25 17:09:40+03:00 - build 6578
38

far/execute.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4141
#include "keyboard.hpp"
4242
#include "ctrlobj.hpp"
4343
#include "cmdline.hpp"
44+
#include "elevation.hpp"
4445
#include "encoding.hpp"
4546
#include "interf.hpp"
4647
#include "message.hpp"
@@ -84,6 +85,8 @@ static bool FindObject(string_view const Command, string& strDest)
8485
if (Module.empty())
8586
return false;
8687

88+
SCOPED_ACTION(elevation::suppress);
89+
8790
const auto ModuleExt = name_ext(Module).second;
8891
const auto PathExtList = enum_tokens(lower(os::env::get_pathext()), L";"sv);
8992

far/vbuild.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6578
1+
6579

0 commit comments

Comments
 (0)