You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the things I like to do when waiting for a long time is let the users know. -- hey it's gonna take a few. then I give it a spinner. This gives the impression that the computer or process didn't lockup -- that it's working on it. There are many different spinner functions, but test first not all of them work well with the user's terminal such as putty.
quit:=make(chan bool)
fmt.Println("going to run big-script.sh This is going to take a while.")
go spinner(quit)
script.Exec("big-script.sh").Stdout()
quit <- true
I have a long running Exec() query:
This command takes a long time, but is always successful.
How can I check the progress of this Exec query? How do I know if it's still in-progress, or has finished running it's command?
I don't think I can check the exit status of the Pipe (as far as I can see), because that will only be set if there's an error
The text was updated successfully, but these errors were encountered: