Are there sigkills for streams?
2 answers
If you are asking how to kill a process, you can simply do
Process.kill("KILL", pid)
Once it gets kill -9, the kernel then kills the process itself. killing the thread with it. also, you can capture this signal and kill it gracefully
Signal.trap("KILL") { puts "Child died" }
Does this answer your question?
-1
source to share