title: fork with Ruby 1.8 and Windows
body: <p>I'm using ruby 1.8.7 patchlevel 302 and I'm working on a Windows xp system. 
  I have to start an external process that needs to react on user input. The process doesn't react if I use threads, so I tried using fork. With fork the external process reacts on the user input but it executes more than just the fork block. For example</p>
  
  <pre><code>fork do
    puts 'child'
  end
  puts 'parent'
  Process.wait
  puts 'done'</code></pre> 
  
  <p>produces the following output on my machine:</p>
  
  <pre><code>parent
  child
  parent
  done
  done
  </code></pre>
  
  <p>As you can see 'done' and 'parent' is printed twice. What can I do to make the child execute only its block and not more? (I can't switch to Ruby 1.9 because of some gems)</p>