diff options
author | hut <hut@hut.pm> | 2017-06-22 21:20:31 +0200 |
---|---|---|
committer | hut <hut@hut.pm> | 2017-06-22 21:20:31 +0200 |
commit | 086074db6f08af058ffdced7319287715a88d42a (patch) | |
tree | a0754af58a975296449077ea1b6b35233e080299 /ranger | |
parent | e4a18c29c44590dcbfa5decf893a9bdf88500ed3 (diff) | |
download | ranger-086074db6f08af058ffdced7319287715a88d42a.tar.gz |
core.runner: show stderr when using 'p' flag (#884)
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/core/runner.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py index 8c3e3162..bb4e512a 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -27,7 +27,7 @@ from __future__ import (absolute_import, division, print_function) import logging import os import sys -from subprocess import Popen, PIPE +from subprocess import Popen, PIPE, STDOUT from ranger.ext.get_executables import get_executables, get_term from ranger.ext.popen_forked import Popen_forked @@ -185,7 +185,7 @@ class Runner(object): # pylint: disable=too-few-public-methods if 'p' in context.flags: popen_kws['stdout'] = PIPE - popen_kws['stderr'] = PIPE + popen_kws['stderr'] = STDOUT toggle_ui = False pipe_output = True context.wait = False |