The recent changes merged from #132 and #136 cause two webkit_server processes to be spawned under Ruby 1.9. Also, the process spawned by IO.popen is never killed.
@FooBarWidget, @trevorsmith - I honestly don't know enough about the internals of IO.popen and Process.spawn, nor the history of 1.8 and 1.9, to know which of these solutions.
@FooBarWidget, is there a compelling reason to use Process.spawn instead of IO.popen?
@trevorsmith, you are correct about the double-spawn and that was my mistake.
I just researched it. IO.popen does what we want on both 1.8 and 1.9. I fixed this in #138
Thanks for looking into this Trevor and Hongli Lai.