process

package
v0.0.0-...-9116ad2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Processes []*Process
)

Functions

func Add

func Add(desc string, cmd *exec.Cmd) int64

func Kill

func Kill(pid int64) error

func Remove

func Remove(pid int64)

Types

type Process

type Process struct {
	Pid         int64
	Description string
	Start       time.Time
	Cmd         *exec.Cmd
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL