I'm trying to do something simple like get calc.exe to start minimized, but it's not happening.
import subprocess
import win32gui
import win32con
info = subprocess.STARTUPINFO()
info.dwFlags |= subprocess.STARTF_USESHOWWINDOW
info.wShowWindow = win32con.SW_SHOWMINIMIZED
x = subprocess.Popen("calc.exe", startupinfo = info)
It pops up the same as always, no matter what I provide for wShowWindow.