After (*exec.Cmd).Start() it is required to call (*exec.Cmd).Wait() to reap the process and prevent it from sticking around in the zombie state.
Without this fix, Telly running in Docker without an init process (which generally reaps zombies when child procs forget to) would pile up zombies indefinitely.
After
(*exec.Cmd).Start()
it is required to call(*exec.Cmd).Wait()
to reap the process and prevent it from sticking around in the zombie state.Without this fix, Telly running in Docker without an init process (which generally reaps zombies when child procs forget to) would pile up zombies indefinitely.