Commit: runtime(openPlugin): start :Launch process in the background in GUI mode

4 views
Skip to first unread message

Christian Brabandt

unread,
Dec 21, 2025, 5:00:54 AM (21 hours ago) Dec 21
to vim...@googlegroups.com
runtime(openPlugin): start :Launch process in the background in GUI mode

Commit: https://github.com/vim/vim/commit/83fd754150eded50725dd180f496e4dbb3376683
Author: Mateo Gjika <10477759...@users.noreply.github.com>
Date: Sun Dec 21 09:47:38 2025 +0000

runtime(openPlugin): start :Launch process in the background in GUI mode

fixes: https://github.com/vim/vim/issues/18977
closes: https://github.com/vim/vim/issues/18981

Signed-off-by: Mateo Gjika <10477759...@users.noreply.github.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/autoload/dist/vim9.vim b/runtime/autoload/dist/vim9.vim
index fa14bdaf0..a878c877c 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 <https://github.com/vim/vim>
-# 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
Reply all
Reply to author
Forward
0 new messages