Versions in this module Expand all Collapse all v0 v0.5.7 Jun 14, 2021 Changes in this version + type Process struct + DoneChan chan bool + Stderr io.Reader + Stdin io.WriteCloser + StdinMutex sync.Mutex + Stdout io.Reader + func NewProcess(cmd string, args []string, workingDir string, logger *log.Logger, env []string, ...) (*Process, error) + func (p *Process) GetReturnCode() int + func (p *Process) GetReturnStatus() string + func (p *Process) GetStatus() string + func (p *Process) IsRunning() bool + func (p *Process) Kill() error + func (p *Process) Reset() error + func (p *Process) SendSignal(sig os.Signal) error + func (p *Process) Start() error + func (p *Process) Stop() error + func (p *Process) StopOrKillTimeout(timeout time.Duration) error + func (p *Process) UpdateCmd(command string, args []string, workingDir string, env []string, ...) + func (p *Process) WaitForCompletion() error + func (p *Process) Write(data []byte) (int, error) + func (p *Process) WriteString(toWrite string) (int, error) v0.5.6 Sep 25, 2020