Return the pid from spawnCommandLine