T
tharris tharris
Hi
I am dettaching process like below in my code however I am still getting
ruby processes showing as defunct when I do ps -aux. Why would this be
happening I thought the 'Process.detach(pid)' would take care of this or
am I mistaken?
loop do
pid = fork do
..........
..........
..........
end
Process.detach(pid)
end
I am dettaching process like below in my code however I am still getting
ruby processes showing as defunct when I do ps -aux. Why would this be
happening I thought the 'Process.detach(pid)' would take care of this or
am I mistaken?
loop do
pid = fork do
..........
..........
..........
end
Process.detach(pid)
end