about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorToni Kukurin <tkukurin@gmail.com>2020-02-23 09:52:36 +0100
committertoonn <toonn@toonn.io>2020-03-02 13:40:43 +0100
commita478511e8fd215ad878627d2516cb9253a2ab12f (patch)
tree29769d5bd6e43930c58fb1cc97ac1297a59ca731
parent90705ac0c685ac54606a56511d73d0b96b9a1d9c (diff)
downloadranger-a478511e8fd215ad878627d2516cb9253a2ab12f.tar.gz
Update ui.py
Fix 'FileNotFound' if `screen` is not available
-rw-r--r--ranger/gui/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index d2dbb759..5ffdf4a4 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -497,7 +497,7 @@ class UI(  # pylint: disable=too-many-instance-attributes,too-many-public-method
                 # gives out a warning if $TERM is not "screen"
                 try:
                     self._screen_title = check_output(
-                        ['screen', '-Q', 'title']).strip()
+                        ['screen', '-Q', 'title'], shell=True).strip()
                 except CalledProcessError:
                     self._screen_title = None