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

running youtube-dl.exe from a Windows GUI applications #18328

Closed
gfyllos opened this issue Nov 28, 2018 · 1 comment
Closed

running youtube-dl.exe from a Windows GUI applications #18328

gfyllos opened this issue Nov 28, 2018 · 1 comment

Comments

@gfyllos
Copy link

@gfyllos gfyllos commented Nov 28, 2018

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Description of your issue, suggested solution and other information

I would like to use youtube-dl.exe to download videos from inside a windows GUI app. So at some point in my app, I do a CreateProcess(...) which is created ok, but does not seem to do anything as the file is not downloaded. The process terminates with error code -1.

I verifies that the same command from CLI work fine, and that the CreateProcess() is invoked with correct arguments.

Does anyone has an ides why this happens?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 29, 2018

Capture stdout and stderr and see what's happening.

@dstftw dstftw closed this Nov 29, 2018
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.