synrg/stream2tracks — Issue #9: Properly catch interrupt and kill all subprocesses
Author: synrg
Created: 2011-11-28 12:00:51+00:00
State: open

An interrupt (^C or kill) currently doesn't terminate subprocesses. Catch interrupts and ensure all subprocesses are killed. This is particularly problematic in --multi mode, as in normal mode, simply pressing ^C twice will kill stream2tracks and mplayer (or ffmpeg) in succession, but in multi mode, the backgrounded mplayer subprocesses continue to run to completion unless the user locates and kills them separately.