diff options
| author | Jeff Carr <[email protected]> | 2024-12-01 22:22:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-01 22:22:27 -0600 |
| commit | 3ec8400a9d59d03a85fedd3788a0c97638754a92 (patch) | |
| tree | d9f94a4da9a47f2666ace8164b6c5d652bf10cf4 /cmd.go | |
| parent | f0b4869dfae9f8d759182964bbcf0128ed63102c (diff) | |
Diffstat (limited to 'cmd.go')
| -rw-r--r-- | cmd.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) } |
