Gvim has the -f option. Its man page says,
-f Foreground. For the GUI version, Vim will not fork and
detach from the shell it was started in.
What does this mean?
I encountered this option when trying to make the global menu work for gvim from How to get global application menu for gvim?.
I thought it would be that gvim -f file & would show gvim and gvim file & wouldn't. But they both seem to have same behavior.