Bug#949992: Does not take subprocess down when killed

2020-01-28 Thread martin f krafft
tags 949992 +patch kthxbye Attached is a patch. Warning, I'm not a Perl-coder. Seems to work though. -- .''`. martin f. krafft @martinkrafft : :' : proud Debian developer `. `'` http://people.debian.org/~madduck `- Debian - when you have better things to do than fixing systems "i

Bug#949992: Does not take subprocess down when killed

2020-01-28 Thread Charles Plessy
Le Tue, Jan 28, 2020 at 07:54:45PM +1300, martin f krafft a écrit : > > When run-mailcap is killed (e.g. SIGTERM), the subprocess it spawned > according to mailcap is left alive. This is due to the use of the > system(3perl) call. Quite frankly, I think exec() should be used > instead, as there

Bug#949992: Does not take subprocess down when killed

2020-01-27 Thread martin f krafft
Package: mime-support Version: 3.64 Severity: normal File: /usr/bin/run-mailcap When run-mailcap is killed (e.g. SIGTERM), the subprocess it spawned according to mailcap is left alive. This is due to the use of the system(3perl) call. Quite frankly, I think exec() should be used instead, as the