1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-18 10:07:55 +01:00
youtube-dl/youtube_dl
Unrud 4d46360fb6 Kill child processes
When the youtube-dl processes is killed, child processes like `ffmpeg` keep running in the background.
The solution is similiar to [the implementation of subprocess.call](75c1ca7b6c/Lib/subprocess.py (L250)).

The problem doesn't arise when youtube-dl runs in a terminal and Ctrl+C is pressed, because the terminal sends SIGINT to all processes of the process group.
It becomes an issue when youtube-dl is started outside of a terminal or integrated into another program.
2020-09-15 00:23:57 +02:00
..
downloader Kill child processes 2020-09-15 00:23:57 +02:00
extractor Kill child processes 2020-09-15 00:23:57 +02:00
postprocessor Kill child processes 2020-09-15 00:23:57 +02:00
__init__.py Output batch filename when it could not be read (#21915) 2019-08-01 03:54:39 +07:00
__main__.py [refactor] Single quotes consistency 2016-02-14 15:37:17 +06:00
aes.py Switch codebase to use compat_b64decode 2018-01-23 22:23:12 +07:00
cache.py Use expand_path where appropriate (closes #12556) 2017-03-26 02:31:16 +07:00
compat.py Kill child processes 2020-09-15 00:23:57 +02:00
jsinterp.py [jsinterp] Fix typo and cleanup regexes (closes #13134) 2017-05-18 22:57:38 +07:00
options.py [options] Clarify doc on --exec command (closes #19087) (#24883) 2020-04-24 02:31:38 +07:00
socks.py [socks] Report errors elegantly when credentails are required but missing 2017-04-22 21:48:41 +08:00
swfinterp.py Update coding style after pycodestyle 2.1.0 2016-11-17 19:45:42 +08:00
update.py [update] Fix updating via symlinks (closes #23991) 2020-02-08 19:46:58 +07:00
utils.py Kill child processes 2020-09-15 00:23:57 +02:00
version.py release 2020.09.14 2020-09-14 03:37:36 +07:00
YoutubeDL.py Kill child processes 2020-09-15 00:23:57 +02:00