Skip to content

Running Shell Scripts with Real-Time Output in a Text Widget #5393

Answered by willmcgugan
latushko1 asked this question in Q&A
Discussion options

You must be logged in to vote

Subprocess would be the way to go. You should do that in a worker to avoid preventing the UI from updating.

I'm afraid we dropped 3.7 support in Textual a while back. So you may be stuck at an older Textual.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@latushko1
Comment options

Answer selected by latushko1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants