如何了解在Unix / Linux上的Go中退出的未知孩子?

It doesn't look like Go has a way to register a signal handler, so I can't catch SIGCHLD. So, how do I learn about a process exiting that I may not known about because my process has its CHILD_SUBREAPER flag set or is PID 1 in a PID namespace.

You can register signal handlers using signal.Notify