Replace custom child reap code with go-reap
This commit is contained in:
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
8
vendor/github.com/hashicorp/go-reap/reap.go
generated
vendored
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue