2008/11/22 björn <[EMAIL PROTECTED]>:
> 2008/11/22 Ben Schmidt <[EMAIL PROTECTED]>:
>>
>> I suspect a setsid() call (or perhaps setpgid()) would make this go
>> away; I mentioned it in an earlier post about these kinds of issues. Let
>> me see if I can find it...
>>
>> This one:
>>
>> http://groups.google.com/group/vim_mac/msg/ad3c5b53c0a5aa2b
>>
>> Perhaps try the setsid() call as discussed in there. We've tried the
>> signal() call already, which seems to have worked as I predicted, and
>> solved the zombie problem, but not the problem we were actually
>> discussing. I'm not all that confident about the setsid() call, but it's
>> something else to try; it might get rid of the messages.
>
> Thanks for reminding me of that thread, I'll try it out.

Calling setsid() seems to work wonders.  Without that call I can
reproduce the "Stray process ..." message by simply opening MacVim,
pressing Cmd-N a couple of times, then Cmd-q, and repeating (usually
only have to quit once for it to happen).  If I call setsid() before
execv() I never get those warnings (and I've been trying for about 5
minutes straight now).  (Also, if I delete the setsid() call and
recompile then the warning immediately reappears.)

I have pushed the patch to the public repo.

Thanks,
Björn

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_mac" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to