Replace `CP.spawn()` and `CP.exec()` calls with `util.exec()` promised equivalent