summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-22 21:22:24 -0600
committerJeff Carr <[email protected]>2024-11-22 21:22:24 -0600
commitf0b4869dfae9f8d759182964bbcf0128ed63102c (patch)
tree2df55c1216e5037b136cf48c3e85e0436af44565
parent7afc01d14e6d4734783a2083e060a6130394e122 (diff)
RunRealtime()v0.22.9v0.22.10
-rw-r--r--cmd.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd.go b/cmd.go
index b48d9ff..2b65edb 100644
--- a/cmd.go
+++ b/cmd.go
@@ -128,6 +128,11 @@ func PathRunQuiet(pwd string, args []string) cmd.Status {
return PathRunLog(pwd, args, INFO)
}
+// send blank path == use current golang working directory
+func RunRealtime(args []string) cmd.Status {
+ return PathRunRealtime("", args)
+}
+
// echos twice a second if anything sends to STDOUT or STDERR
// not great, but it's really just for watching things run in real time anyway
// TODO: fix \r handling for things like git-clone so the terminal doesn't