From 59a512db43f7ed45242b12764353acc7fb87fb22 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Tue, 6 Apr 2021 10:12:22 +0200 Subject: [PATCH] change creationflags --- openpype/hooks/pre_with_windows_shell.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openpype/hooks/pre_with_windows_shell.py b/openpype/hooks/pre_with_windows_shell.py index fbc9cafae0..a06191ad04 100644 --- a/openpype/hooks/pre_with_windows_shell.py +++ b/openpype/hooks/pre_with_windows_shell.py @@ -35,3 +35,7 @@ class LaunchWithWindowsShell(PreLaunchHook): # Replace launch args with new one self.launch_context.launch_args = args_string + # Change `creationflags` to CREATE_NEW_CONSOLE + self.launch_context.kwargs["creationflags"] = ( + subprocess.CREATE_NEW_CONSOLE + )