> Ex-commands like `:!dir` is spawning a console, upon which the external > command is being executed and the result is being shown. Afterwards, > both the external console _and_ gVim each presents a Press Enter prompt. > > I haven't used gVim before. Not more than a cursory glance anyway. I was > wondering if this is the intended behavior or if I have garbled > something while building it. > > VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Oct 15 2022 15:20:35) > MS-Windows 64-bit GUI version > Included patches: 1-733 > > Windows 11 version 21H2 (OS Build 22000.1098)
This is intended, because executing a console command only works properly in a console window. However, since the terminal window has been added to Vim, you can add the "!" flag to 'guioptions' to execute the command in a terminal window instead. How well this works depends on what command you execute. -- Lose weight, NEVER Diet again with The "Invisible Weight Loss Patch" (spam e-mail) /// Bram Moolenaar -- b...@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 /// -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221015104833.441B41C05ED%40moolenaar.net.