Launch Vim process via login shell, handle spaces in file names
commitcc7852fc7460b5e4c68699be09674d5df7ceafbb
authorBjorn Winckler <bjorn.winckler@gmail.com>
Wed, 7 Nov 2007 20:25:05 +0000 (7 21:25 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Wed, 7 Nov 2007 20:25:05 +0000 (7 21:25 +0100)
tree37a7a55018bd8d5be08816646f7ae5cce8a85220
parenta08a80bbe65a7e7f1481620e2da1bd4f82113f76
Launch Vim process via login shell, handle spaces in file names

The user environment is not always sourced when MacVim starts.  To solve this
each Vim process is launched via a login shell like this:
    $SHELL -l -c "exec /path/to/Vim -g <args>"
Also make sure that if an argument contains a space then enclose it in quotes.
src/MacVim/MMAppController.m