there are two different main ways:
using an indirect command that requires to open a new console, e.g.:
subprocess.Popen("start /wait ", stdout=subprocess.PIPE, shell=True)
(see: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/start )
subprocess.Popen("", creationflags=subprocess.CREATE_NEW_CONSOLE)