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 Output func(funcName, s string) error
Output is used by all functions
View Source
var Verbose func(subj string, args ...interface{})
Verbose If IsVerbose is true printlns VerbosePrefix + subj + ": " + ...args args are printed in %#v format (json-like) if jsonLike is true, %v othervide
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.