logoalt Hacker News

jeremyjhlast Saturday at 10:22 PM1 replyview on HN

Does Go really not have any libraries capable of supervising an external program? If you'd considered journalctl, why didn't you mention it in the article? As many have pointed out here, it is the obvious and intended way to do this, and the path you chose was harder for reasons that seemed to surprise you but were entirely foreseeable.


Replies

mxeylast Sunday at 3:21 PM

JFTR, of course it has a library for it https://pkg.go.dev/os/exec