From: Gavin Sinclair Date: 2002-09-08T22:27:55+09:00 Subject: Re: a problem of waitting and printting out message ----- Original Message ----- From: "Hal E. Fulton" > > > > Is the following what you are looking for? > > > > if fork then > > # parent process > > exit! > > else > > # child process > > sleep 10 > > puts "Now!" > > end > > I think Maggie is a Windows user (unless my > memory is wrong). And this solution won't > work on Windows. > > Since leaving the Cygwin DLL behind, we have > lost fork() and popen3 and gained a thread- > related bug that cripples many apps. Speak for yourself, the above example works for me ;) > Probably one of those situations where you > have to take two steps back in order to > take three steps forward. Sigh, I wish we could all dump Windows and get Mac OS X! > Hal --Gavin