Prevent zombie processes

This commit is contained in:
cn 2013-04-28 16:06:07 +02:00
parent 00255ebed9
commit a4b6a63383
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ module Dyndnsd
pid = fork do
exec @command
end
# detach so children don't become zombies
Process.detach(pid)
end
end
end