diff options
Diffstat (limited to 'ranger/core/runner.py')
-rw-r--r-- | ranger/core/runner.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py index fe8a0c25..7b8c5874 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -175,6 +175,7 @@ class Runner(object): pipe_output = True context.wait = False if 's' in context.flags or 'd' in context.flags: + devnull = open(os.devnull, 'w') for key in ('stdout', 'stderr'): popen_kws[key] = devnull if 'd' in context.flags: |