From: Ralph Shnelvar Date: 2010-08-31T08:20:44+09:00 Subject: Re: fork() function is unimplemented on this machine ------------3563202211002D8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Joel, 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. Thanks! ------------3563202211002D8--