1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-18 10:07:55 +01:00
youtube-dl/youtube_dl/postprocessor
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
..
__init__.py Add fixup for media files produced by HlsNative downloader(fixes #4776) 2016-03-01 21:10:41 +01:00
common.py [postprocessor/common] Use 'self._downloader.params' instead of 'self.params' 2015-09-05 12:11:36 +02:00
embedthumbnail.py Kill child processes 2020-09-15 00:23:57 +02:00
execafterdownload.py [postprocessor/execafterdownload] Encode command line (closes #13407) 2017-06-17 23:16:53 +07:00
ffmpeg.py Kill child processes 2020-09-15 00:23:57 +02:00
metadatafromtitle.py [postprocessor/metadatafromtitle] Fix missing optional meta fields (closes #13408) 2017-06-17 19:05:10 +07:00
xattrpp.py Fix W504 and disable W503 (closes #20863) 2019-05-11 03:57:40 +07:00