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

Commit: 
https://github.com/vim/vim/commit/83fd754150eded50725dd180f496e4dbb3376683
Author: Mateo Gjika <[email protected]>
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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

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

-- 
-- 
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/E1vXGEN-008LMb-PY%40256bit.org.

Raspunde prin e-mail lui