summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-01 22:22:27 -0600
committerJeff Carr <[email protected]>2024-12-01 22:22:27 -0600
commit3ec8400a9d59d03a85fedd3788a0c97638754a92 (patch)
treed9f94a4da9a47f2666ace8164b6c5d652bf10cf4
parentf0b4869dfae9f8d759182964bbcf0128ed63102c (diff)
-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)
}