-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
preserve shellcmdflag and normalize for /bin/sh #2006
Conversation
as it may contain flags not understood by /bin/sh
Related #988 |
Can you give a concrete example of what this fixes for you? |
On Ubuntu 18.04 if you set
This is because /bin/sh does not understand -lc (on Ubuntu
This does not happen on OSX because So we reset shellcmdflag to -c which is understood by |
Given that vim-go does not set |
But it replaces the shell that uses shellcmdflag. |
Why was 881a9cc needed at all? |
lgtm |
Thank you for the contribution. |
Thank you. |
Fix shell related problems when
shellcmdflag
contains flags not understood by/bin/sh
by resetting it to a safe value and restoring it at the end.