Detect and restart hanging programs with Go
Detecting programs where the standard output has frozen can require a deep dive into terminal emulation basics. Go plumber Mike Schilli builds a plunger to free up the pipe works.
Source: Linux Magazine Full Feed