diff options
author | hut <hut@lavabit.com> | 2011-03-02 17:41:19 +0000 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-03-02 17:42:02 +0000 |
commit | 80b48cf5aedfd1329d1da01262278fdc5b0c8e90 (patch) | |
tree | f27b91064fc048909e4aec604ddea8f9968d863a | |
parent | 87c13f56345618022d23e2c81b4afa3293648100 (diff) | |
download | ranger-80b48cf5aedfd1329d1da01262278fdc5b0c8e90.tar.gz |
fixed issue with py3.2 when opening files w/ mplayer
it didn't accept open('/dev/null', 'a') as STDIN for subprocess.Popen and threw a [Errno 9] Bad file descriptor. Which makes... sense.
-rw-r--r-- | ranger/core/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py index d049b655..376fd43c 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -175,7 +175,7 @@ class Runner(object): pipe_output = True context.wait = False if 's' in context.flags or 'd' in context.flags: - for key in ('stdout', 'stderr', 'stdin'): + for key in ('stdout', 'stderr'): popen_kws[key] = devnull if 'd' in context.flags: toggle_ui = False |