Skip to content

nightlyone/process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages