From 8459df5f8620cb21f0a3a7c27d9f54cdc8aabf92 Mon Sep 17 00:00:00 2001 From: Alex Alabuzhev Date: Sat, 31 Jul 2021 14:33:35 +0100 Subject: [PATCH] Continue 5862.1 --- far/changelog | 5 +++++ far/execute.cpp | 2 +- far/vbuild.m4 | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/far/changelog b/far/changelog index a004a244b6..e7b5c3fffe 100644 --- a/far/changelog +++ b/far/changelog @@ -1,3 +1,8 @@ +-------------------------------------------------------------------------------- +drkns 31.07.2021 14:22:45 +0100 - build 5863 + +1. Continue 5862.1. + -------------------------------------------------------------------------------- drkns 31.07.2021 12:58:27 +0100 - build 5862 diff --git a/far/execute.cpp b/far/execute.cpp index 470e9f04b5..282eb34cbd 100644 --- a/far/execute.cpp +++ b/far/execute.cpp @@ -522,7 +522,7 @@ static bool execute_shell(string const& Command, string const& Parameters, strin Info.fMask = SEE_MASK_FLAG_NO_UI | SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS | (Wait? SEE_MASK_NO_CONSOLE : 0); Info.lpVerb = RunAs? L"runas" : nullptr; - if (SourceIsKnown) + if (SourceIsKnown && !path::is_separator(Command.back())) { assert(Parameters.empty()); diff --git a/far/vbuild.m4 b/far/vbuild.m4 index 026d5ea4ff..7c2175db35 100644 --- a/far/vbuild.m4 +++ b/far/vbuild.m4 @@ -1 +1 @@ -5862 +5863