Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
running youtube-dl.exe from a Windows GUI applications #18328
Comments
|
Capture stdout and stderr and see what's happening. |
What is the purpose of your issue?
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?