You call it `result` here but `results` in `waitForProcess`. Could they be the same thing?