On 07/08/2007 10:35, Tony Mechelynck wrote: > Mike Williams wrote: >> Hi, >> >> For a while now when I start gvim, the command prompt window that also >> gets created is left active. That is, it appears as a window I can >> cycle through, and if I close it, it takes out gvim with it. This >> doesn't happen all the time but it is not rare. >> >> This is with 7.1.46 built with VC8. I have a custom makefile (the one >> that knocked around the dev lists prior to 7.1 but never got rolled into >> the sources) but I have seen the same with the stock makefile. >> >> I am happy to try and debug this but any inisghts, or at least pointers >> to what code to look at that should be killing the command prompt window >> would be appreciated. >> >> TTFN >> >> Mike > > How do you start gvim? > > If you start gvim.exe by launching the binary directly from Start => Execute > or from a desktop icon, there should be no command prompt window. > > If you start gvim.exe by typing its name at the command prompt, it should > detach itself from the command window and leave it free to do other tasks > (the > prompt should revert). When I was on Windows, I left cmd.exe open from bootup > to shutdown, so I don't know what would happen to child processes if that > window were closed. > > If you use a gvim.bat wrapper script, what happens could depend of whether > the > script launches gvim.exe directly or via a "start" command (and in the latter > case, with which arguments to "start").
I start gvim from an existing command prompt, and as you say I can happily continue doing command prompty things there. I am seeing an additional command prompt window open when gvim starts, which normally disappears but occasionally stays around. Mike -- The way to a man's heart is through his chest. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
