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.
Exit Error Code (ERRORLEVEL in CMD) #1917
Comments
|
No, it is not a good idea to return the number of failed downloads, since that would collide with common other error codes and in general leave us unable to signal specific error conditions. You can pass the output of youtube-dl or embed it in a Python script. Like all other applications, youtube-dl will exit with |
|
Can you publish the current error codes |
|
0 on success, 1 on failure and 101 if the maximum downloads given with |
Is it possible to set the error level to the number of failed downloads or a bit mask return code to signify there was a failure which ever make sense from your end.