Re: [PATCH v7 09/10] sub-process: move sub-process functions into separate files

2017-05-13 Thread Jeff King
On Fri, May 05, 2017 at 11:28:01AM -0400, Ben Peart wrote: > +static void subprocess_exit_handler(struct child_process *process) > +{ > + sigchain_push(SIGPIPE, SIG_IGN); > + /* Closing the pipe signals the subprocess to initiate a shutdown. */ > + close(process->in); > + close(pro

[PATCH v7 09/10] sub-process: move sub-process functions into separate files

2017-05-05 Thread Ben Peart
Move the sub-proces functions into sub-process.h/c. Add documentation for the new module in Documentation/technical/api-sub-process.txt Signed-off-by: Ben Peart --- Documentation/technical/api-sub-process.txt | 59 Makefile| 1 + convert.c