Add fork support
commita5e6a92d1654974f65d45ad8258f88c4f15bb012
authorNico Weber <nicolasweber@gmx.de>
Sun, 2 Dec 2007 12:05:14 +0000 (2 13:05 +0100)
committerBjorn Winckler <bjorn.winckler@gmail.com>
Sun, 2 Dec 2007 12:05:14 +0000 (2 13:05 +0100)
tree21d7a35e18710e78f0e967931297431eda0eba8e
parentd41acd7d880dfd1d14095beb5cda2074c5c3fda0
Add fork support

If vim is started via '-g', it forks and exec()s a new (!) vim instance in the
child process. But if the gui is started via `:gui`, no forking is done.

In MacVim, pass the '-f' flag when starting a new Vim process (should not fork
in this instance).
src/MacVim/MMAppController.m
src/gui.c
src/main.c
src/proto/main.pro