DO NOT MERGE: update module path
DO NOT MERGE: README: explain fork
Support writing stdout/stderr to os.File
os/exec's Cmd can optionally write stdout/stderr directly to an os.File,
which is useful for cases when running an app that forks children who
stay alive after the parent has quit. In that situation, Go's runtime
will think the parent is still alive because the pipes for stdout/stderr
would still be open by the child(ren). When stdout/stderr is set to an
os.File, the runtime will consider the parent done when it quits,
regardless of what the child(ren) does.
Add support for sending arbitrary signals to a process
This adds a public method, cmd.SendSignal, that allows sending a signal
to a process and, optionally, to the entire process group.
Internally, terminateProcess is replaced by signalProcess.
Merge pull request #85 from lunarway/feature/line-buffer-option
Add LineBufferSize option field
Use uint instead of int for field
Add LineBufferSize option field
To support configuring the line buffer size a new field LineBufferSize is added
to the cmd.Options struct. This allows configuring the line buffer size to the
callers needs instead of relying on the DEFAULT_LINE_BUFFER_SIZE.
Merge pull request #80 from go-cmd/fix-build-directive
Use go:build instead of +build
Use go:build instead of +build
Merge pull request #75 from go-cmd/dn/v1.4
Rework Cmd.Options as Options.BeforeExec
Rename SetCmd to BeforeExec
Rework Cmd.Options as Options.SetCmd
Merge pull request #54 from wenerme/options
cmd add Options #53
Update changelog for v1.3.1
Merge pull request #74 from go-cmd/dn/test-coveralls
Empty commit to test Coveralls
Empty commit to test Coveralls