Here is my project, I am creating a GUI for a TAS tool (Mario Wonder). It works as a command to enter in a server.jar. At startup it creates a CMD where you can enter commands like Start Stop, and it answers me. My goal is simply to automate this with a GUI. For now I am using PyQt5 and Keyboard. The problem is that it brings the CMD to the foreground. I would like to make the project cleaner by making everything happen in the background. I turned it on subprocess but after several tries, it is impossible to interact with a CMD page already open !
If someone can help me ^^ Actual script [Screen] I want to do all this in the background !