runtimei(vim9): Always launch programs in background (linux)

Commit: 
https://github.com/vim/vim/commit/4b83d5ca76573373c0b57238b221a6a504bdb50b
Author: Mateo Gjika <[email protected]>
Date:   Tue Feb 3 15:24:26 2026 +0000

    runtimei(vim9): Always launch programs in background (linux)
    
    closes: https://github.com/vim/vim/issues/19293
    
    Signed-off-by: Mateo Gjika <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/autoload/dist/vim9.vim b/runtime/autoload/dist/vim9.vim
index 53385e082..ece21db65 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 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')

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vnILs-00B75d-Lt%40256bit.org.

Raspunde prin e-mail lui