Closed monkeycc closed 7 months ago
Since the main program and the subprocess are separate processes, you can only send messages from the subprocess to the main process and then do all the UI work in the main process. Use whatever inter-process communication (IPC) mechanism you find convenient. The doc on the multiprocessing
module has a couple of sections on IPC - start with this one:
https://docs.python.org/3/library/multiprocessing.html#exchanging-objects-between-processes
Subprocess How to Control GUI Framework