Hi again.

Before I published the shell.vim plug-in I tested my execute() implementation by comparing the results of executing the interactive, graphical program Notepad using Vim's system() function and my execute() implementation, simply as a demonstration of a child process blocking further input in Vim until the child process dies.

In the test above my execute() implementation works great, but my actual goal with the execute() function is to run programs such as Exuberant Ctags without waiting for them to finish AND without creating a command prompt window. And of course I was stupid enough not to test my actual use-case first... Turns out the code as it was would still create a command prompt window to run command-line programs, it just appeared to not show command prompt windows simply because Notepad is a GUI program!

I've uploaded a new release to www.vim.org that corrects this problem and I've also changed the test instructions to more accurately reflect the goals of the execute() implementation, you can find both at:

http://www.vim.org/scripts/script.php?script_id=3123

 - Peter Odding

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

Raspunde prin e-mail lui