tpope/vim-dispatch — pull request #34 by samstokes (2013-05-16 21:00:53+00:00)
Title: Error displaying result pane when :pwd contains spaces

If vim's current directory contains spaces, `:Dispatch` runs the command, but then fails to open the result pane, displaying the following error:

Error detected while processing function dispatch#compile_command..dispatch#complete..102_cgetfile:
line 21:
E172: Only one file name allowed: cd /home/sstokes/hello world
Error detected while processing function dispatch#compile_command..dispatch#complete:
line 12:
E171: Missing :endif
Error detected while processing function dispatch#compile_command:
line 63:
E171: Missing :endif

Steps to reproduce:

```bash
mkdir hello\ world
cd hello\ world
cat > Makefile <