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

do not run in background shell thread #1

Open
MaxPleaner opened this issue Aug 28, 2017 · 0 comments
Open

do not run in background shell thread #1

MaxPleaner opened this issue Aug 28, 2017 · 0 comments

Comments

@MaxPleaner
Copy link
Owner

MaxPleaner commented Aug 28, 2017

This gem right now is totally asynchronous with no good facility to halt until the downloading is done. This does not have to be the case because the youtube-dl shell program is blocking. It would be blocking if the & were removed in &/dev/null, I think. I suppose I would have to find another way to hide the output, but it isn't hiding the output right now anyway.

It seems obvious that this gem should be able to be used in a blocking manner from a typical ruby script, but I actually didn't consider this when I was writing it, because my use-case was for using it from a music-creation REPL (step_sequencer).

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

No branches or pull requests

1 participant