Friday, July 6, 2012

exit code when running running vim scripts

Hi,

I wanted to install a vimball without actually starting vim. So I tried this:

ex -NsS my_vimball.vmb -c q

It seems to work perfectly, except that I get an exit code of 1. I'm
just curious why that is. Any ideas?

On the other hand, it seems that this version gives me an exit code of 0:

vim -S my_vimball.vmb -c q

So I'm not too worried about the non-zero exit code issue. I'm just curious.

- Aaron

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

Post a Comment