Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If there is whitespace in the path to gvim, It doesn't work.(win 7 64bit) #7

Open
ttang235 opened this issue May 30, 2014 · 1 comment

Comments

@ttang235
Copy link

I use the absolute path: D:\Program Files (x86)\Vim\vim73\gvim.exe, and I got the following error.

09:43:47, ERROR: Failed to save the source given by the server: Cannot run program "D:\Program" (in directory "E:\Topcoder.vimcoder\1708"): CreateProcess error=2, ϵͳÕҲ»µ½ָ¶

The default config doesn't work for me, too. (That's why I configure vimcoder myself)
But I can lauch gvim from my cmd. It has been added to PATH.

Thank you!

@chazmcgarvey
Copy link
Owner

Since gvim is in your PATH, does it work if you set the vim command setting to "gvim" or "gvim.exe"? But yes, spaces in the vim command setting are treated as command and argument delimiters, and unfortunately there is no mechanism for escaping; adding basic shell-like escaping would be a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants