Versions in this module Expand all Collapse all v0 v0.9.99 Oct 17, 2016 v0.9.97 Nov 2, 2016 Changes in this version + var DEFAULT = 60 * time.Second + var ErrExecTimeout = errors.New("Process execution timeout") + var Processes []*Process + func Add(desc string, cmd *exec.Cmd) int64 + func Exec(desc, cmdName string, args ...string) (string, string, error) + func ExecDir(timeout time.Duration, dir, desc, cmdName string, args ...string) (string, string, error) + func ExecTimeout(timeout time.Duration, desc, cmdName string, args ...string) (string, string, error) + func Kill(pid int64) error + func Remove(pid int64) + type Process struct + Cmd *exec.Cmd + Description string + Pid int64 + Start time.Time