From: Robert Klemme Date: 2010-08-31T15:20:06+09:00 Subject: Re: fork() function is unimplemented on this machine On 08/31/2010 01:20 AM, Ralph Shnelvar wrote: > Monday, August 30, 2010, 12:00:00 PM, you wrote: > > JV> On 08/30/2010 09:47 AM, Ralph Shnelvar wrote: >>> How can I execute (spawn) an external program in 1.8.6 and know when the program is finished? > > JV> t = Thread.new do > JV> system "sleep 1" > JV> end > > JV> p t.alive? > > JV> sleep 1.5 > > JV> p t.alive? > JV> p t.value > > JV> t.join > > May all the gods of all the religions bless your home and your family. Another solution is to use cygwin which does support fork(). Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/