When python tkinter uses multiple processes, many of the same interfaces pop up

I now have a lot of functions that deal with data, of which they are useful to multi-processes. In the interface made with tkinter, when command= calls functions that use multiple processes, many interfaces pop up, all of which are the same as the original interface.
I"d like to ask how these interfaces keep them from popping up

Mar.22,2021
The problem of

was not solved, and multi-processes were eventually abandoned in order for the interface to be displayed successfully.


use lambda expressions.
for example:

command=lambda: stopDemo(root)
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6abe-1df1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6abe-1df1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?