From: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Date: Sun, 21 Dec 2025 09:47:38 +0000 (+0000) Subject: runtime(openPlugin): start :Launch process in the background in GUI mode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=83fd754150eded50725dd180f496e4dbb3376683;p=thirdparty%2Fvim.git runtime(openPlugin): start :Launch process in the background in GUI mode fixes: #18977 closes: #18981 Signed-off-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Signed-off-by: Christian Brabandt --- diff --git a/runtime/autoload/dist/vim9.vim b/runtime/autoload/dist/vim9.vim index fa14bdaf04..a878c877c8 100644 --- a/runtime/autoload/dist/vim9.vim +++ b/runtime/autoload/dist/vim9.vim @@ -3,7 +3,7 @@ vim9script # Vim runtime support library # # Maintainer: The Vim Project -# Last Change: 2025 Aug 15 +# Last Change: 2025 Dec 21 export def IsSafeExecutable(filetype: string, executable: string): bool if empty(exepath(executable)) @@ -60,7 +60,7 @@ if has('unix') enddef else export def Launch(args: string) - const fork = has('gui_running') ? '' : '&' + const fork = has('gui_running') ? '&' : '' execute $':silent ! nohup {args} {Redir()} {fork}' | redraw! enddef endif