Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

child_process: handle zero fd in process.stdin #2730

Closed
wants to merge 1 commit into from

Commits on Sep 7, 2015

  1. 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
    indutny committed Sep 7, 2015
    Configuration menu
    Copy the full SHA
    5d1710e View commit details
    Browse the repository at this point in the history