From 55d27bd0afdafe46f0448102d888d73839eedf43 Mon Sep 17 00:00:00 2001 From: jellespijker Date: Thu, 17 Aug 2023 00:15:32 +0200 Subject: [PATCH] Don't create shell windows when starting plugin Contribute to CURA-10619 --- cura/BackendPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/BackendPlugin.py b/cura/BackendPlugin.py index bbdd622d5f..d51379ebb1 100644 --- a/cura/BackendPlugin.py +++ b/cura/BackendPlugin.py @@ -58,7 +58,7 @@ class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject): # STDIN needs to be None because we provide no input, but communicate via a local socket instead. # The NUL device sometimes doesn't exist on some computers. Logger.info(f"Starting backend_plugin [{self._plugin_id}] with command: {self._validatePluginCommand()}") - self._process = subprocess.Popen(self._validatePluginCommand(), stdin = None) + self._process = subprocess.Popen(self._validatePluginCommand(), stdin = None, creationflags = subprocess.CREATE_NO_WINDOW) self._is_running = True return True except PermissionError: