Hi,

there is a problem with MacVim when using zsh as default shell. The
problem occurs in VCSCommand plugin, when it spawns git process trying
to detect vcs-related info. These processes just hang, and wait. I
described it at [1]. Bjorn pointed me to the implementation of
macosx_fork in os_macosx.m, as the most likely culprit. After some
looking, I decided to implement double-fork trick, to completely
detach Vim from the terminal, which did the trick. However, I still
don't know what is the actual reason for sub-processes hanging.

My question is: what are the requirements for the fork()-ed instance
of Vim? Should it have access to the controlling terminal, or not? I'm
trying to understand if there are any problems with using double-fork
with vim.

[1] http://groups.google.com/group/vim_mac/browse_thread/thread/78b18ce8cc15557d

Thanks,
Nikola

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui