On Friday, 7 September 2018 at 16:44:09 UTC, Russel Winder wrote: > > I guess this might work on Windows, but I am on Linux and OSX, > so I'll have to try another route. On Posix systems you may try using SIGCHLD handler. Google for exact examples.