Closed kuchenstrudel closed 5 years ago
Interesting. If I add -INT then the streamlink jobs never die, and I'm also unable to kill them manually from the shell unless I use sigterm.
Will investigate it more. I'm currently on 0.14.2.r150.g649f483a which looks like its only 7 commits behind the master branch.
I'm using 0.14.2 from the package manager. Maybe node kill
is different?
I can't kill the streamlink processes from node or from outside in the shell either with SIGINT. Will downgrade to 0.14.2 release to see if its a newly introduced issue.
I installed the package release instead of git repo, and at least on my arch system, streamlink never responds to 'kill -INT'.
Although, from googling around it seems that maybe on some systems it would have to be kill -SIGINT. So maybe its safer to just make it kill -2, as that looks like its constant.
Streamlink seems to respond to SIGINT just fine, at least in my testings. See example below.
streamlink -o test.mkv https://www.twitch.tv/$random_twitch_streamer best
kill -INT $PID