Re: [PATCH v3 06/10] run-command: add clean_on_exit_handler

2016-08-02 Thread Lars Schneider
> On 02 Aug 2016, at 07:53, Johannes Sixt wrote: > > Am 01.08.2016 um 13:14 schrieb Lars Schneider: > >> On 30 Jul 2016, at 11:50, Johannes Sixt wrote: > >> Am 30.07.2016 um 01:37 schrieb larsxschnei...@gmail.com: > >>> static struct child_to_clean *children_to_clean; > >>> @@ -30,6 +31,8 @@ st

Re: [PATCH v3 06/10] run-command: add clean_on_exit_handler

2016-08-01 Thread Johannes Sixt
Am 01.08.2016 um 13:14 schrieb Lars Schneider: >> On 30 Jul 2016, at 11:50, Johannes Sixt wrote: >> Am 30.07.2016 um 01:37 schrieb larsxschnei...@gmail.com: >>> static struct child_to_clean *children_to_clean; >>> @@ -30,6 +31,8 @@ static void cleanup_children(int sig, int in_signal) >>> { >>>

Re: [PATCH v3 06/10] run-command: add clean_on_exit_handler

2016-08-01 Thread Lars Schneider
> On 30 Jul 2016, at 11:50, Johannes Sixt wrote: > > Am 30.07.2016 um 01:37 schrieb larsxschnei...@gmail.com: >> Some commands might need to perform cleanup tasks on exit. Let's give >> them an interface for doing this. >> >> Signed-off-by: Lars Schneider >> --- >> run-command.c | 12 -

Re: [PATCH v3 06/10] run-command: add clean_on_exit_handler

2016-07-30 Thread Johannes Sixt
Am 30.07.2016 um 01:37 schrieb larsxschnei...@gmail.com: Some commands might need to perform cleanup tasks on exit. Let's give them an interface for doing this. Signed-off-by: Lars Schneider --- run-command.c | 12 run-command.h | 1 + 2 files changed, 9 insertions(+), 4 deletion

[PATCH v3 06/10] run-command: add clean_on_exit_handler

2016-07-29 Thread larsxschneider
From: Lars Schneider Some commands might need to perform cleanup tasks on exit. Let's give them an interface for doing this. Signed-off-by: Lars Schneider --- run-command.c | 12 run-command.h | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/run-command.c b/r