RunRealtime()

This commit is contained in:
Jeff Carr 2024-11-22 21:22:24 -06:00
parent 7afc01d14e
commit f0b4869dfa
1 changed files with 5 additions and 0 deletions

5
cmd.go
View File

@ -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