Thursday, May 13, 2010

Re: nasty cmd window

On 13/05/10 11:26, 0x0renegat0x0 wrote:
>
> I am using python with vim.
>
> When I am calling .exe application (Popen) then nasty cmd window appears on
> windows. In linux no black terminal screen is showing.
> This is probably because by default vim doesn't have standard output/input
> streams and to have redirection it has to create a commandline window.
>
> However is there a way to hide this nasty window? Is it a python problem or
> vim problem?

Neither. It is a Windows problem: among other things, IIUC Windows has
no pseudo-terminals like those of Unix-like OSes. In some cases you can
alleviate the problem by using the system() function instead of the :!
command.


Best regards,
Tony.
--
[clop clop]
ARTHUR: Old woman!
DENNIS: Man!
ARTHUR: Man, sorry. What knight lives in that castle over there?
DENNIS: I'm thirty seven.
ARTHUR: What?
DENNIS: I'm thirty seven -- I'm not old!
The Quest for the Holy Grail (Monty
Python)

--
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

No comments: