ammended for deprecated customFds option in child_process