From: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Date: Tue, 3 Feb 2026 15:24:26 +0000 (+0000) Subject: runtimei(vim9): Always launch programs in background (linux) X-Git-Tag: v9.1.2129~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b83d5ca76573373c0b57238b221a6a504bdb50b;p=thirdparty%2Fvim.git runtimei(vim9): Always launch programs in background (linux) closes: #19293 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 53385e0824..ece21db65d 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 Dec 21 +# Last Change: 2026 Jan 31 export def IsSafeExecutable(filetype: string, executable: string): bool if empty(exepath(executable)) @@ -60,8 +60,7 @@ if has('unix') enddef else export def Launch(args: string) - const fork = has('gui_running') ? '&' : '' - execute $':silent ! nohup {args} {Redir()} {fork}' | redraw! + execute $':silent ! nohup {args} {Redir()} &' | redraw! enddef endif elseif has('win32')