mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 05:55:52 +08:00
Reset LD_PRELOAD environment variable before calling plugin
CURA-12091
This commit is contained in:
parent
40400b2be2
commit
79ad3e70ee
@ -95,8 +95,8 @@ class BackendPlugin(AdditionalSettingDefinitionsAppender, PluginObject):
|
||||
popen_kwargs["creationflags"] = subprocess.CREATE_NO_WINDOW
|
||||
|
||||
plugin_env = os.environ
|
||||
if "APPRUN_RUNTIME" in plugin_env and "APPRUN_ORIGINAL_APPRUN_RUNTIME" in plugin_env:
|
||||
plugin_env["APPRUN_RUNTIME"] = plugin_env["APPRUN_ORIGINAL_APPRUN_RUNTIME"]
|
||||
if "LD_PRELOAD" in plugin_env and "APPRUN_ORIGINAL_LD_PRELOAD" in plugin_env:
|
||||
plugin_env["LD_PRELOAD"] = plugin_env["APPRUN_ORIGINAL_LD_PRELOAD"]
|
||||
|
||||
Logger.info(plugin_env)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user