Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
child_process: handle zero fd in process.stdin
When passing `process.stdin` in `stdio` options to `child_process.spawn`, make sure that its `fd` is getting passed properly to the C++ internals. It is `0`, so the `stdio.fd || stdio` check will return `process.stdin`, instead of the number. Fix: nodejs#2721
- Loading branch information