diff options
Diffstat (limited to 'ranger/applications.py')
-rw-r--r-- | ranger/applications.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/applications.py b/ranger/applications.py index 3acf6da5..a046a839 100644 --- a/ranger/applications.py +++ b/ranger/applications.py @@ -16,7 +16,7 @@ class Applications(object): """Returns a list with all application functions""" return [x for x in self.__dict__ if x.startswith('app_')] -import os +import os, sys null = open(os.devnull, 'a') def run(*args, **kw): @@ -33,6 +33,7 @@ def run(*args, **kw): args = map(str, args) popen_kw = {} + popen_kw['stdout'] = sys.stderr if kw['stdin'] is not None: popen_kw['stdin'] = kw['stdin'] |