summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-01 05:45:57 +0100
committerhut <hut@lavabit.com>2010-01-01 05:45:57 +0100
commit5a528b93e78d51552e9247d1a4d5183c43e1cf53 (patch)
tree8a0842b5106782f03a5adf0b632b75a3d65431f1
parent4be8b40169288414ac02842dee30a50e6b73e1c4 (diff)
downloadranger-5a528b93e78d51552e9247d1a4d5183c43e1cf53.tar.gz
adapted OpenConsole to the new system
-rw-r--r--ranger/gui/widgets/console.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/ranger/gui/widgets/console.py b/ranger/gui/widgets/console.py
index 11b83417..feafe667 100644
--- a/ranger/gui/widgets/console.py
+++ b/ranger/gui/widgets/console.py
@@ -337,9 +337,7 @@ class OpenConsole(Console):
 		from subprocess import STDOUT, PIPE
 		command, flags = self._parse()
 		if command:
-			run(command, flags=flags, fm=self.fm,
-					mode=0, shell=True, stdin=None,
-					apps=self.fm.apps, stderr=STDOUT)
+			self.fm.execute_command(command, flags=flags)
 		Console.execute(self)
 	
 	def _parse(self):