]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(openPlugin): start :Launch process in the background in GUI mode master
authorMateo Gjika <104777599+mateoxh@users.noreply.github.com>
Sun, 21 Dec 2025 09:47:38 +0000 (09:47 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 21 Dec 2025 09:47:38 +0000 (09:47 +0000)
fixes:  #18977
closes: #18981

Signed-off-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/dist/vim9.vim

index fa14bdaf04761fef5f2cf59838db00d68979ee6c..a878c877c8ac445a4a6a63ed012ff74e79a5e8bd 100644 (file)
@@ -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