Patch 9.0.0606
Problem: system() opens a terminal window when using the GUI and "!" is in
'guioptions'.
Solution: Do not use a terminal window when the SHELL_SILENT flag is used.
(closes #11202)
Files: src/os_unix.c
*** ../vim-9.0.0605/src/os_unix.c 2022-09-04 12:47:15.410692254 +0100
--- src/os_unix.c 2022-09-27 15:26:28.619452893 +0100
***************
*** 5476,5482 ****
ch_log(NULL, "executing shell command: %s", cmd);
#endif
#if defined(FEAT_GUI) && defined(FEAT_TERMINAL)
! if (gui.in_use && vim_strchr(p_go, GO_TERMINAL) != NULL)
return mch_call_shell_terminal(cmd, options);
#endif
#ifdef USE_SYSTEM
--- 5476,5483 ----
ch_log(NULL, "executing shell command: %s", cmd);
#endif
#if defined(FEAT_GUI) && defined(FEAT_TERMINAL)
! if (gui.in_use && vim_strchr(p_go, GO_TERMINAL) != NULL
! && (options & SHELL_SILENT) == 0)
return mch_call_shell_terminal(cmd, options);
#endif
#ifdef USE_SYSTEM
*** ../vim-9.0.0605/src/version.c 2022-09-27 15:06:26.102486486 +0100
--- src/version.c 2022-09-27 15:48:02.270553770 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 606,
/**/
--
Some of the well known MS-Windows errors:
ESLEEP Operator fell asleep
ENOERR No error yet
EDOLLAR OS too expensive
EWINDOWS MS-Windows loaded, system in danger
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 on the web visit
https://groups.google.com/d/msgid/vim_dev/20220927144937.D90C71C0413%40moolenaar.net.