Documentation
¶
Index ¶
Constants ¶
View Source
const ( StderrRedirectNone = iota StderrRedirectStdout StderrRedirectNull )
Stderr redirection
Variables ¶
View Source
var Doing func(arg interface{})
Doing printlns "$obj..." to stdout
View Source
var Info func(args ...interface{})
Info printlns to stdout
View Source
var IsVerbose = false
IsVerbose enables Verbose
View Source
var Verbose func(subj string, args ...interface{})
Verbose If IsVerbose is true prints VerbosePrefix + subj + ": " + ...args args are printed in %#v format (json-like) A newline is always appended if the last character is not already a newline https://golang.org/pkg/log/#Logger.Output
View Source
var VerbosePrefix = "--- "
VerbosePrefix prefixes Verbose output
Functions ¶
Types ¶
type PipedExec ¶
type PipedExec struct {
// contains filtered or unexported fields
}
PipedExec allows to execute commands in pipe
func (*PipedExec) WorkingDir ¶
WorkingDir sets working directory for the last command
Click to show internal directories.
Click to hide internal directories.