add RunQuiet()
This commit is contained in:
parent
f0b4869dfa
commit
3ec8400a9d
6
cmd.go
6
cmd.go
|
@ -122,6 +122,12 @@ func PathRunLog(path string, argv []string, logf *log.LogFlag) cmd.Status {
|
|||
return s
|
||||
}
|
||||
|
||||
// uses the 'log' package to disable echo to STDOUT
|
||||
// only echos if you enable the shell.INFO log flag
|
||||
func RunQuiet(args []string) cmd.Status {
|
||||
return PathRunLog("", args, INFO)
|
||||
}
|
||||
|
||||
// uses the 'log' package to disable echo to STDOUT
|
||||
// only echos if you enable the shell.INFO log flag
|
||||
func PathRunQuiet(pwd string, args []string) cmd.Status {
|
||||
|
|
Loading…
Reference in New Issue