From: nobuyoshi nakada Date: 2005-06-27T11:56:04+09:00 Subject: Re: speeding up Process.detach frequency Hi, At Mon, 27 Jun 2005 09:14:13 +0900, gwtmp01@mac.com wrote in [ruby-talk:146541]: > This is where the Process#daemon method I posted would be helpful. Process#daemon has been implemented already. > Process.detach is a bit strange. It is used *after* the child > has already been forked, at which point there is nothing much that > #detach can do other than periodically wait on the child. It can't > double fork because the new child will be a sibling of the previous > child and not a parent. Its purpose and usage are different from Process#daemon, so I think double fork doesn't solve the issue about detaching. Detaching a process is not so strange, bash has `disown' built-in command for instance. -- Nobu Nakada