Hi,

In message "[ruby-talk:12921] fork problem???"
    on 01/03/20, "Hal E. Fulton" <hal9000 / hypermetrics.com> 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.