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)
Menu