diff options
Diffstat (limited to 'src/engine/SCons/Environment.py')
| -rw-r--r-- | src/engine/SCons/Environment.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index da455bc..ca25021 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -920,6 +920,12 @@ class Base: def Environment(self, **kw): return apply(SCons.Environment.Environment, [], self.subst_kw(kw)) + def Execute(self, action, *args, **kw): + """Directly execute an action through an Environment + """ + action = apply(self.Action, (action,) + args, kw) + return action([], [], self) + def File(self, name, *args, **kw): """ """ |
