closes: #19293
Signed-off-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
# 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))
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')