RunRealtime()
This commit is contained in:
parent
7afc01d14e
commit
f0b4869dfa
5
cmd.go
5
cmd.go
|
@ -128,6 +128,11 @@ func PathRunQuiet(pwd string, args []string) cmd.Status {
|
||||||
return PathRunLog(pwd, args, INFO)
|
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
|
// 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
|
// 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
|
// TODO: fix \r handling for things like git-clone so the terminal doesn't
|
||||||
|
|
Loading…
Reference in New Issue