mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-15 15:55:18 +02:00
[core] plugins: Add direct accessor for the process env dictionary
This commit is contained in:
parent
1d96ca090b
commit
0efc6c3d2f
1 changed files with 5 additions and 0 deletions
|
@ -368,6 +368,11 @@ class NodePlugin(BaseObject):
|
||||||
return self.plugin.processEnv
|
return self.plugin.processEnv
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@property
|
||||||
|
def runtimeEnv(self) -> dict:
|
||||||
|
""" Return the environment dictionary for the runtime. """
|
||||||
|
return self.processEnv.getEnvDict()
|
||||||
|
|
||||||
|
|
||||||
class NodePluginManager(BaseObject):
|
class NodePluginManager(BaseObject):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue