Return pid for new process