Try Process.fork .