Guillaume Cottenceau <gcottenc / gmail.com> writes: > When this program "kills" the "backend" thread, the external process > is not terminated "immediately" (the "sleep 50"). That is as expected, i.e.: a thread and a child process are two different things. > Do any of you have any idea if it would be possible to kill the thread > "immediately"? Use Thread.kill as you did. > I have a real-world program in which I have a very > costly external program I'd like to interrupt immediately, under some > circumstances. And then send a SIGTERM to that external process. YS.