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

PHP will not execute command if warning appears. #7062

Closed
styler2go opened this issue Oct 4, 2015 · 1 comment
Closed

PHP will not execute command if warning appears. #7062

styler2go opened this issue Oct 4, 2015 · 1 comment

Comments

@styler2go
Copy link

@styler2go styler2go commented Oct 4, 2015

I ran into a bug where the execution of youtube-dl was aborted because one message was not run in stdout. The solution i used is adding ">> msg.log 2>> msg.log" to the end of the line.

More about the problem:
http://stackoverflow.com/questions/32935064/php-exec-output-does-not-return-and-execute-commands

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 4, 2015

It's not a youtube-dl issue if it works fine without PHP.
Warnings you've disabled with --no-warnings are written to strerr, most likely your PHP code is unable to handle this properly.

@dstftw dstftw closed this Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.