on windows always autofill creation flags

This commit is contained in:
Jakub Trllo 2023-02-17 09:59:47 +01:00 committed by Jakub Trllo
parent e0879fd67d
commit 567b6dfb14

View file

@ -102,8 +102,7 @@ def run_subprocess(*args, creationflags=None, **kwargs):
# Modify creation flags on windows to hide console window if in UI mode
if (
sys.__stdout__ is None
and platform.system().lower() == "windows"
platform.system().lower() == "windows"
and creationflags is None
):
creationflags = (