summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-19 01:24:25 +0100
committerhut <hut@lavabit.com>2012-03-19 01:24:25 +0100
commitbc64975926bcac370fc2a6c5d93050f4150962f5 (patch)
tree86aa9f3d03ab1238fd4ddfaeaa9d692afce8c3a3
parentd0506ca681423273c568d6c0c584a01f0d95ccba (diff)
downloadranger-bc64975926bcac370fc2a6c5d93050f4150962f5.tar.gz
ext.rifle: fixed hook_environment
-rwxr-xr-xranger/ext/rifle.py2
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)