Skip to content

Do best to kill your children.

License

Notifications You must be signed in to change notification settings

ifrstr/killdren

Repository files navigation

killdren

Do best to kill your children.

Go Reference Go Report Card

This package tries to kill child process and "grandchild process" when main process shutdown or panic.

Install

go get gopkg.ilharper.com/x/killdren

Usage

// Starting
cmd := &exec.Cmd{
	// ...
}
killdren.Set(cmd)
err := cmd.Run()

// Stopping
err := killdren.Stop(cmd)

Go Reference

LICENSE

MIT

About

Do best to kill your children.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages