command-output: Wire subproc stdin to /dev/null

This should fix 2488, where beet convert would prevent further
inputs.
This commit is contained in:
nath@home 2017-04-22 15:01:31 +02:00
parent 80f77aea4d
commit 7a3c786215

View file

@ -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
)