spawn_process() top level implementation