When using the nwg-drawer in resident mode (starting the application with the -r flag), the drawer should collect the exit status codes of all children, which is not the case and leads to a lot of zombies in the process tree. An easy fix would be to just insert a cmd.Wait() after https://github.com/nwg-piotr/nwg-drawer/blob/main/tools.go#L586, like shown in the snipped below. But that is certainly not the optimal way to solve this problem.
When using the nwg-drawer in resident mode (starting the application with the
-r
flag), the drawer should collect the exit status codes of all children, which is not the case and leads to a lot of zombies in the process tree. An easy fix would be to just insert acmd.Wait()
after https://github.com/nwg-piotr/nwg-drawer/blob/main/tools.go#L586, like shown in the snipped below. But that is certainly not the optimal way to solve this problem.