-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
fix(#111): resolve windows executable paths #126
Conversation
Thanks to @UnderCooled for the fix.
@UnderCooled check this out and make sure it works - thanks. |
@barrett-ruth It works, hope this won't cause problems on other OSes. |
Seems fine on my linux machine 👍 |
Sorry, this fix does cause a problem... If you have two linters, when the second one runs, it raises Lines 29 to 30 in 192fd1d
lint.cmd = vim.fn.exepath(lint.cmd)
local data = spawn(lint) After I add |
Maybe schedule it...? Would take a deeper look this weekend. |
@UnderCooled can you try his suggested approach. Also, if you could draft up a PR that would be great - I personally dont't have a windows device to test any changes on. |
Yes, a pr would be great. Doesn't own a windows machine either :( |
The second linter not running is another issue, this Windows ".cmd" fix ( Maybe I should open another issue about the second linter? Will that be related to issue #113? |
resolves #111 -
uv.spawn()
fails to detect programs as executable on windows. Useexepath()
to resolve paths before spawn.