Re: tmux in cygwin -> defunct processes

2014-10-01 Thread Nicholas Marriott
Yes IIRC fork on Cygwin is notoriously crappy because Windows doesn't really work that way (doesn't it have to pass the address space through a pipe?). This seems harmless, applied it - thanks On Wed, Oct 01, 2014 at 05:43:51PM -0500, J Raynor wrote: > I???m not seeing a hang, but I do see a defu

Re: tmux in cygwin -> defunct processes

2014-10-01 Thread J Raynor
I’m not seeing a hang, but I do see a defunct process. It appears to be due to a race condition. Tmux startup is a little slow on cygwin, which I think is what’s triggering the race condition. It looks like tmux ends up setting client_attached=1 before the child process in daemon() exits. As a