diff options
author | hut <hut@lavabit.com> | 2012-03-19 01:24:25 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-03-19 01:24:25 +0100 |
commit | bc64975926bcac370fc2a6c5d93050f4150962f5 (patch) | |
tree | 86aa9f3d03ab1238fd4ddfaeaa9d692afce8c3a3 | |
parent | d0506ca681423273c568d6c0c584a01f0d95ccba (diff) | |
download | ranger-bc64975926bcac370fc2a6c5d93050f4150962f5.tar.gz |
ext.rifle: fixed hook_environment
-rwxr-xr-x | ranger/ext/rifle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index 4870c36e..80dd0ba7 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -260,7 +260,7 @@ class Rifle(object): command = self.hook_command_postprocessing(command) self.hook_before_executing(command, self._mimetype, self._app_flags) try: - p = Popen(command, shell=True) + p = Popen(command, env=self.hook_environment(os.environ), shell=True) p.wait() finally: self.hook_after_executing(command, self._mimetype, self._app_flags) |