Multi threads in background #5873
-
Hi everybody, I would like to develop a custom application to correlate data between two scripts I've already written in Python. These scripts display strings transferred via USB-UART dongle on standard output with timestamp, payload and status as well. The idea is to display the traces in each part of a window and align them according to their timestamps. I have already used the worker mechanism on Textual but that was for a single background process. If now I want to have two background processes, I don't know how to do it. My questions are:
Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can launch as many workers as you like. Creating the new worker(s) is done in the same way as the first. Maybe you assumed there was more to it than that? |
Beta Was this translation helpful? Give feedback.
-
Hi Will,
So nice of you to reply this fast. I will test it tomorrow ! Yeah I thought
it would be more complex than that :)
Thank you for the support as well as the beautiful libraries (rich and
textual).
Best regards,
…On Thu, 19 Jun 2025 at 16:30, Will McGugan ***@***.***> wrote:
You can launch as many workers as you like. Creating the new worker(s) is
done in the same way as the first.
Maybe you assumed there was more to it than that?
—
Reply to this email directly, view it on GitHub
<#5873 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOV43J5ZUW2KC2DTONPZPBT3ELCPXAVCNFSM6AAAAAB7V7K5IKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNJSGEYDCNI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Christophe Fauvel
Mail : ***@***.***
Tel : 06 76 63 93 25
|
Beta Was this translation helpful? Give feedback.
You can launch as many workers as you like. Creating the new worker(s) is done in the same way as the first.
Maybe you assumed there was more to it than that?