To: vim_dev@googlegroups.com Subject: Patch 9.0.0606 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///