Changed spawn (result …) to spawnP ….