mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Don't create shell windows when starting plugin
Contribute to CURA-10619
This commit is contained in:
parent
4393603b8e
commit
55d27bd0af
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
# 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.
|
# The NUL device sometimes doesn't exist on some computers.
|
||||||
Logger.info(f"Starting backend_plugin [{self._plugin_id}] with command: {self._validatePluginCommand()}")
|
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
|
self._is_running = True
|
||||||
return True
|
return True
|
||||||
except PermissionError:
|
except PermissionError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue