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.
command to quit youtube-dl? #5631
Comments
|
Thanks dstftw for the answer but I was already aware of the GenerateConsoleCtrlEvent function. This function seems to be working for console programs only and I need a solution for a Win32 GUI program. I don't like the TerminateProcess function but I think it's my best option here. |
Hello,
Is there any command to quit the program while it's running (like 'q' letter for ffmpeg)?
I ask this because I'm working on a Windows program that uses youtube-dl as a child process, and it would be a convenient way to quit the program properly instead of making a TerminateProcess.