阅读背景:

如何在Vim中获取外部命令的返回(状态)值

来源:互联网 

I want to get the exit value (returned by $? on a shell; usually 0 or 1 for success or failure) of a external shell command in Vim. Note that I want to get its standard output too. So I can use the output and the also the exit value in a Vim conditional expression. Is this possible? on




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: