On Wed, Aug 16, 2006 at 05:24:14PM +0200, MenTaLguY wrote:
> On Wed, 2006-08-16 at 15:37 +0900, Ondrej Bilka wrote:
> > > It's probably also worth asking how he's going to get SIGALRM to work on
> > > Windows.
> > >
> > ri Kernel#fork
> 
> Elaborate?
> 
> -mental
> 
Now is best way spawn new process by(but its slow)
When you want use threads dont forget put quota (fork bombing is very
efective in ruby)

if f=fork 
Process.setrlimit(0,1) #sets user time, so sleep would hang forever
yield
exit! 0
else
process.wait
$?.exitstatus
end