On Thursday, October 22, 2015 at 10:32:59 AM UTC-5, Matthew Horan wrote: > To reproduce this issue: > > mkdir with\ spaces > ln -s $(which sh) with\ spaces/ > SHELL=$(pwd)/with\ spaces/sh vim > > > > In the launched Vim, trying to execute anything through a shell, ie :! ls, > will fail with the error > > Cannot execute shell /home/hotdog/with spaces/sh. > > > While a typical shell path may not contain spaces, this is the case on > Windows via Git bash when installed in C:\Program Files. See > git-for-windows/git#498 for context. >
I think in this case you may need to manually set your 'shell' option to wrap it in quotes, as in the example in :help 'shell'. I know there is a place in the help somewhere that shows exactly how all the shell options fit together to build a command, but I can't find it at the moment. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
