Documentation
¶
Index ¶
- Variables
- func ErrExit()
- func Path(parts ...string) string
- func PathTemplate(parts ...string) func(...interface{}) string
- func Quote(arg string) string
- type Command
- func (c *Command) ErrFn() func(...interface{}) error
- func (c *Command) OutputFn() func(...interface{}) (string, error)
- func (c *Command) Pipe(cmd ...interface{}) *Command
- func (c *Command) ProcFn() func(...interface{}) *Process
- func (c *Command) Run() *Process
- func (c *Command) SetWorkDir(path string) *Command
- func (c *Command) Start() *Process
- type Process
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Shell = []string{"/bin/sh", "-c"} Panic = true Trace = false TracePrefix = "+" )
View Source
var Tee io.Writer
Functions ¶
func PathTemplate ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func (*Command) SetWorkDir ¶
Click to show internal directories.
Click to hide internal directories.