- Fixed issue 94: Command is still executed if Stop() is called during BeforeExec hooks
- Added a note in docs about SIGINT (issue #100)
- Updated test matrix to go1.22, go1.21, and go1.20
- Added
Options.CombinedOutput
based on PR #76 by @jwomackgsa (issue #70)
- Added
Options.LineBufferSize
based on PR #85 by @Crevil (issue #66)
- Added
Options.BeforeExec
based on PR #53 #54 by @wenerme (issue #53)
- Fixed
Stop()
on Windows with go1.17 (PR #69) (@silisium) - Updated test matrix to go1.15, go1.16, and go1.17
- Added SECURITY.md and GitHub code analysis
- Fixed last line not flushed if incomplete (PR #48) (@greut)
- Added ErrNotStarted
- Changed Stop() to return ErrNotStarted (issue #16)
- Added
StartWithStdin(io.Reader)
(PR #50) (@juanenriqueescobar)
- Changed streaming output: channels are closed after command stops (issue #26)
- Updated examples/blocking-streaming
- Added support for Windows (PR #24) (@hfrappier, et al.)
- Use go mod (PR #37) (@akkumar)
- Fixed typo in README (PR #28) (@alokrajiv)
- Added
Cmd.Clone()
(PR #35) (@croqaz) - Code cleanup (PR #34) (@croqaz)
- Fixed no output: Buffered=false, Streaming=false
- Added
Cmd.Dir
to setos/exec.Cmd.Dir
(PR #25) (@tkschmidt)
- Added
Cmd.Env
to setos/exec.Cmd.Env
(PR #14) (@robothor)
- Changed
Running()
toDone() <-chan struct{}
to matchContext.Done()
and support multiple waiters (PR #13)
- Fixed errors in example code (PR #9) (@anshap1719)
- Added NewCmdOptions, Options, OutputBuffer, and OutputStream
- Added example code
- First release.