Versions in this module Expand all Collapse all v0 v0.1.1 Jul 27, 2017 v0.1.0 Jul 24, 2017 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