[agent v0.3.6] 🐛 fix: kill process group

This commit is contained in:
naiba
2021-01-29 11:11:39 +08:00
parent e439747c09
commit 0f24c0d7ef
6 changed files with 121 additions and 5 deletions

View File

@@ -0,0 +1,20 @@
package utils
import (
"errors"
"os"
)
type ProcessExitGroup struct{}
func NewProcessExitGroup() (ProcessExitGroup, error) {
return ProcessExitGroup{}, errors.New("not implement")
}
func (g ProcessExitGroup) Dispose() error {
return errors.New("not implement")
}
func (g ProcessExitGroup) AddProcess(p *os.Process) error {
return errors.New("not implement")
}