From: djberg96@... (Daniel Berger) Date: 2004-09-01T23:45:24+09:00 Subject: Re: ruby-dev summary 24054-24170 Masayoshi Takahashi wrote in message news:<20040901.040137.45918878.maki@rubycolor.org>... > Hi all, > > This is a summary of ruby-dev ML these days. > [ruby-dev:24106] return value of Process.daemon > > Now Process.daemon is implemented in Ruby HEAD branch, but > Tanaka Akira, who made the request of this method in > [ruby-dev:24030], suggested that Process.daemon should return > nil, not 0, on the contrary of current implementation. > > Matz told his opinion that methods coresponding with > system calls or library functions should return > their return values without any change. For those operating systems (e.g. Solaris) that don't have the daemon() function, what about calling umask(0) and normalizing the PATH? And for the hyper paranoid, Stevens recommends calling fork twice. Regards, Dan