bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtags plugin fails at call to system function using vim 6.4


From: Jason Hood
Subject: Re: Gtags plugin fails at call to system function using vim 6.4
Date: Tue, 14 Mar 2006 19:58:01 +1000

Arra Avakian <address@hidden> wrote:
(02/03/2006 00:14)

>This line in gtags.vim seems to be the problem:
>
>    let stuff = system(cmd . '>' . tmpfile)

This is a problem in the DOS/Win versions of vim,
since the system command performs its own
redirection, which overrides the above.  A work-
around for the Win32 CMD.EXE version can be
achieved by replacing the above line with:

    call system(cmd . '>' . tmpfile . "& exit")

This is not recommended as a permanent
solution and you should still ask the vim
mailing lists/forums for a better solution.

Jason.
-- 
Send instant messages to your online friends http://au.messenger.yahoo.com 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]