output is too fast to capture with RunRealtime()
This commit is contained in:
parent
f39c2a86a6
commit
2b1b847143
2
cmd.go
2
cmd.go
|
@ -175,7 +175,7 @@ func PathRunRealtime(pwd string, args []string) cmd.Status {
|
|||
}
|
||||
statusChan := findCmd.Start() // non-blocking
|
||||
|
||||
ticker := time.NewTicker(5 * time.Millisecond)
|
||||
ticker := time.NewTicker(100 * time.Microsecond)
|
||||
|
||||
// this is interesting, maybe useful, but wierd, but neat. interesting even
|
||||
// Print last line of stdout every 2s
|
||||
|
|
Loading…
Reference in New Issue