Skip to content
nightlyonePublic

About

Managing processes with Go

Topics

Resources

Stars

15 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

process

Managing processes with Go

GoDoc Gitter Build Status

example usage

package main
import (
	"os/exec"
	"time"

	"github.com/nightlyone/process"
)

func main() {
	cmd := exec.Command("true")
	group, err := process.Background(cmd)
	if err != nil {
		panic(err)
	}
	group.Terminate(1 * time.Second)
}

LICENSE

BSD

build and install

Install Go 1, either from source or with a prepackaged binary.

Then run

go get github.com/nightlyone/process

NOTE

This package will only work on UNIX based systems

About

Managing processes with Go

Topics

Resources

Stars

15 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages