Task runner with real time progress messages - figuring it all out #2132
dirkroorda
started this conversation in
Show and tell
Replies: 1 comment
-
Nice! Thank you so much for sharing it. This is indeed a common request, and I never got around to creating a working example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to let the webserver start a shell command in the background and collect the output in real time and let the user kill such a process?
This should be doable in Flask-SocketIO, and it is, but it takes a fair amount of research.
These things are far from trivial:
subprocess
module, how can I collect the output in real time without blocking?I put the answers, plus a working example in this repo.
Beta Was this translation helpful? Give feedback.
All reactions