Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close stdin when performing command_output() #2524

Merged
merged 3 commits into from
Apr 24, 2017

Conversation

nathdwek
Copy link
Member

@nathdwek nathdwek commented Apr 22, 2017

This should fix #2488 where some commands, mainly beet convert would prevent further inputs.

I've been running with the solution proposed by @sampsyo for some time now and I believe it does indeed suppress this behaviour.
@jansol, could you confirm this fixes problems on your end as well?

I don't know how to test for this however.

nath@home added 2 commits April 22, 2017 15:01
This should fix 2488, where beet convert would prevent further
inputs.
@mention-bot
Copy link

@nathdwek, thanks for your PR! By analyzing the history of the files in this pull request, we identified @sampsyo, @jrobeson and @brunal to be potential reviewers.

@Freso
Copy link
Member

Freso commented Apr 22, 2017

I can't see from the PR title or description what problem this is supposed to solve… ?

@nathdwek
Copy link
Member Author

nathdwek commented Apr 22, 2017

@Freso : Sorry I got confused between writing commit messages, PR content, short PR title, and changelog. Eh, can get a bit repetitive.

Also apparently there is a 2/3 issue :'(

@nathdwek
Copy link
Member Author

That's better!

Copy link
Member

@sampsyo sampsyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks perfect; thank you! Please feel free to merge any time.

@nathdwek nathdwek merged commit 68089ac into master Apr 24, 2017
@arcresu arcresu deleted the command-output-close-stdin branch April 24, 2019 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

convert: Close stdin for ffmpeg subprocesses
4 participants