Versions in this module Expand all Collapse all v0 v0.0.4 Mar 22, 2025 v0.0.3 Mar 12, 2025 Changes in this version type Cmd + Dir string v0.0.2 Mar 10, 2025 Changes in this version type Arguments + func (c Arguments) Cmd() (*Cmd, error) v0.0.1 Jan 8, 2025 Changes in this version + func Pipe(cmds []*exec.Cmd, stdin io.Reader, stdout, stderr io.Writer) error + func Run(cmd *exec.Cmd) (int, error) + func RunPipe(cmds []*exec.Cmd) (int, error) + type Arguments []string + func Parse(input string) ([]Arguments, error) + func (c *Arguments) Add(arg string) + func (c Arguments) Get(n int) string + func (c Arguments) String() string + type Cmd struct + Args []string + Cmd string + Env []string + func AllocArgs(args Arguments) (*Cmd, error) + func (c *Cmd) Command() *exec.Cmd + func (c *Cmd) CommandContext(ctx context.Context) *exec.Cmd + type CmdLogger struct + func Log(cmd *exec.Cmd, maxLen int) *CmdLogger + func (l *CmdLogger) Output() (ProcessOutput, error) + type ProcessOutput struct + func (s *ProcessOutput) Empty() bool + func (s *ProcessOutput) Get() (output string, tail bool, err error)