Launch Vim process via login shell, handle spaces in file names
commit298f0f9c7d20ceb87f107eac07c0a109538be0ee
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)
treeaab9370313268ede42e8b858a62384e23fb7351e
parentfc9b372d8c8a06fdc02e542bc026f9fd4409462a
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