use Process::spawn for Ruby >= 1.9
Merge pull request #15 from justjake/use-process-spawn

Use process spawn for JRuby usage.