Hi, My question is about: How select a "Window" that exist ? Because I don't know how select. What I know is create a new window, but don't select a that already exists.
What I have done this is it: (throw how "sub-process" already minimized)
import subprocess if subprocess.mswindows: su = subprocess.STARTUPINFO() su.dwFlags |= subprocess.STARTF_USESHOWWINDOW su.wShowWindow = subprocess.SW_HIDE kwargs['startupinfo'] = su process = subprocess.Popen( (r'C:\name.exe', r'D:\optional_name.exe'), **kwargs )
Thanks all :icon_wink: