When subprocess.run() with capture_output=True or subprocess.check_output was used, the compiled exe with "Window-based" opt
subprocess.run()
capture_output=True
subprocess.check_output