output is too fast to capture with RunRealtime()

This commit is contained in:
Jeff Carr 2024-12-15 08:47:24 -06:00
parent f39c2a86a6
commit 2b1b847143
1 changed files with 1 additions and 1 deletions

2
cmd.go
View File

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