diff --git a/cmd.go b/cmd.go index 2b65edb..02cc017 100644 --- a/cmd.go +++ b/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 {