Re: Async processes started in functions not reliably started

2019-08-05 Thread Robert Elz
Date:Mon, 05 Aug 2019 14:05:43 +0200 From:Steffen Nurpmeso Message-ID: <20190805120543.bf9-u%stef...@sdaoden.eu> | Would be nice to have some shell support for signalling the parent | that the child is now functional, The shell cannot really know - your example w

Re: Async processes started in functions not reliably started

2019-08-05 Thread Steffen Nurpmeso
Chet Ramey wrote in : |On 8/5/19 8:05 AM, Steffen Nurpmeso wrote: | |> Would be nice to have some shell support for signalling the parent |> that the child is now functional, a pipe(2) is much easier than |> going through temporary files, but of course not a bash bug. | |You could roll your

Re: Async processes started in functions not reliably started

2019-08-05 Thread Chet Ramey
On 8/5/19 8:05 AM, Steffen Nurpmeso wrote: > Would be nice to have some shell support for signalling the parent > that the child is now functional, a pipe(2) is much easier than > going through temporary files, but of course not a bash bug. You could roll your own using a named pipe, but that's f

Re: Async processes started in functions not reliably started

2019-08-05 Thread Steffen Nurpmeso
Hi, and a nice Monday, if possible. Steffen Nurpmeso wrote in <20190803231715.yfelc%stef...@sdaoden.eu>: |Steffen Nurpmeso wrote in <20190803224008.dvnlu%stef...@sdaoden.eu>: | ... ||wanted to add a reaper process which automatically kills tests ||which need longer than X seconds. That turns