From 7a3c78621514fcd643b967c6f78a554eec0ee72f Mon Sep 17 00:00:00 2001 From: "nath@home" Date: Sat, 22 Apr 2017 15:01:31 +0200 Subject: [PATCH] command-output: Wire subproc stdin to /dev/null This should fix 2488, where beet convert would prevent further inputs. --- beets/util/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beets/util/__init__.py b/beets/util/__init__.py index f6cd488d6..5db205c02 100644 --- a/beets/util/__init__.py +++ b/beets/util/__init__.py @@ -801,6 +801,7 @@ def command_output(cmd, shell=False): cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, + stdin=subprocess.DEVNULL, close_fds=platform.system() != 'Windows', shell=shell )