Replace custom child reap code with go-reap

This commit is contained in:
Manuel de Brito Fontes 2017-04-12 20:20:18 -03:00
parent 03cae88983
commit 256cd6b1df
8 changed files with 560 additions and 22 deletions

8
vendor/github.com/hashicorp/go-reap/reap.go generated vendored Normal file
View file

@ -0,0 +1,8 @@
package reap
// ErrorCh is an error channel that lets you know when an error was
// encountered while reaping child processes.
type ErrorCh chan error
// PidCh returns the process IDs of reaped child processes.
type PidCh chan int