Skip to content
Managing processes with Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE
README.md
example_test.go
process.go
process_test.go

README.md

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

You can’t perform that action at this time.