Versions in this module Expand all Collapse all v0 v0.5.2 Sep 18, 2014 v0.5.0 Sep 14, 2014 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