Add fork support
commit75a948e4b99e994a01f8917157eee6b0eec5d346
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)
tree8d486d110c1af1f9f358c4c09df0189551fd25df
parent9557ea65da1443d3657a52b5e074343b107e95f1
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