Documentation ¶
Overview ¶
This package contains shell execution support used in rcc.
Index ¶
- func Split(commandline string) ([]string, error)
- func WithInterrupt(task Wrapper)
- type Common
- type Task
- func (it *Task) CaptureOutput() (string, int, error)
- func (it *Task) Execute(interactive bool) (int, error)
- func (it *Task) NoStderr() *Task
- func (it *Task) Observed(sink io.Writer, interactive bool) (int, error)
- func (it *Task) StderrOnly() *Task
- func (it *Task) Tee(folder string, interactive bool) (int, error)
- func (it *Task) Tracked(sink io.Writer, interactive bool) (int, error)
- func (it *Task) Transparent() (int, error)
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithInterrupt ¶
func WithInterrupt(task Wrapper)
Types ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) StderrOnly ¶
func (*Task) Transparent ¶
Click to show internal directories.
Click to hide internal directories.