We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57c952b commit b91e8b6Copy full SHA for b91e8b6
1 file changed
daq/test_modules/native_host.py
@@ -41,7 +41,8 @@ def activate(self, log_name='activate.log'):
41
"""Active a container and return STDOUT to it."""
42
assert not self.active_pipe, '%s already activated' % self.name
43
44
- env = dict(self.env_vars)
+ # Need to inherit current process's env, otherwise there may be permission errs
45
+ env = {**os.environ, **dict(self.env_vars)}
46
47
self.cmd('mkdir %s' % os.path.join(self.basedir, "config"))
48
0 commit comments