wip: pipe stdout & stderr

This commit is contained in:
2023-12-09 02:44:06 +00:00
parent d9d1fe72d4
commit 9128503da1
8 changed files with 217 additions and 6 deletions
+2
View File
@@ -24,6 +24,8 @@ signal:
case unix.SIGTERM, unix.SIGINT:
if isOpen {
close(trigger)
wg.Add(1)
go i.signalPump(wg, selfExit)
isOpen = false
}
case unix.SIGCHLD: