about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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):