From: matz@... (Yukihiro Matsumoto) Date: 2001-03-20T18:11:59+09:00 Subject: [ruby-talk:12931] Re: fork problem??? Hi, In message "[ruby-talk:12921] fork problem???" on 01/03/20, "Hal E. Fulton" writes: |Observe: Two nearly identical Ruby programs. |One says "fork do" and the other says "if not fork" |(shouldn't that work?). It shouldn't. Try puts "hi" if not fork puts "I'm the child" sleep 2 exit # child have to be terminated end Process.wait puts "Parent again" matz.