Re: [PATCH] Add wait-for signaling to commands that create new panes

2014-08-24 Thread Nathaniel W Filardo
hooks if they are ever finished. > > > > What are "hooks" in this context? > > > > Thanks, > > --nwf; > > > > > On Mon, Aug 04, 2014 at 01:59:26PM -0400, Nathaniel W Filardo wrote: > > > > Greetings list, > > > > &

Re: [PATCH] Add wait-for signaling to commands that create new panes

2014-08-08 Thread Nathaniel W Filardo
On Mon, Aug 04, 2014 at 10:59:21PM +0100, Thomas Adam wrote: >[useful feedback] Here's take 2; it should (unless I goofed) incorporate all your feedback. Thanks! --nwf; diff --git a/cmd-new-session.c b/cmd-new-session.c index b36de70..d23fea1 100644 --- a/cmd-new-session.c +++ b/cmd-new-session.c

Re: [PATCH] Add wait-for signaling to commands that create new panes

2014-08-08 Thread Nathaniel W Filardo
need some way to wait for the individual task running on a given pane to exit. > This seems like a job for hooks if they are ever finished. What are "hooks" in this context? Thanks, --nwf; > On Mon, Aug 04, 2014 at 01:59:26PM -0400, Nathaniel W Filardo wrote: > > Greeti

[PATCH] Add wait-for signaling to commands that create new panes

2014-08-04 Thread Nathaniel W Filardo
Greetings list, The attached patch adds options to new-window, new-session, and split-window (commands which create panes) to signal a wait_channel when that pane is destroyed, for example after the contained process exits. Towards this end, it changes the life-cycle management code in cmd-wait-f