summaryrefslogtreecommitdiff
path: root/cmd.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.go')
-rw-r--r--cmd.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd.go b/cmd.go
index 2b65edb..02cc017 100644
--- a/cmd.go
+++ b/cmd.go
@@ -124,6 +124,12 @@ func PathRunLog(path string, argv []string, logf *log.LogFlag) cmd.Status {
// 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 {
return PathRunLog(pwd, args, INFO)
}