Tuesday, August 20, 2013

Re: How to inspect command executed by system(expr, input)?

On Tue, August 20, 2013 12:01, Andrew Stewart wrote:
> Hello,
>
> I am using `system(expr, input)` to run an external command. However some
> users have reported a problem and I would like to see exactly what command
> `system()` is constructing and executing.
>
> The help docs for `system()` state that the command is constructed like
> this:
>
> 'shell' 'shellcmdflag' 'shellxquote' {expr} 'shellredir' {tmp}
> 'shellxquote'
>
> But they don't say how to see what the constructed command actually is.
>
> For reference, here is the problem I'm trying to solve:
>
> https://github.com/airblade/vim-gitgutter/issues/101
>
> Thanks in advance!

If I recall correctly, simply set the verbose level to 5 and Vim will
output the exact command it is executing.

regards,
Christian

--
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: