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: fix data loss with readable event #5036

Closed
wants to merge 1 commit into from

Commits on Feb 4, 2016

  1. child_process: fix data loss with readable event

    This commit prevents child process stdio streams from being
    automatically flushed on child process exit/close if a 'readable'
    event handler has been attached at the time of exit.
    
    Without this, child process stdio data can be lost if the process
    exits quickly and a `read()` (e.g. from a 'readable' handler)
    hasn't had the chance to get called yet.
    
    Fixes: nodejs#5034
    mscdex committed Feb 4, 2016
    Configuration menu
    Copy the full SHA
    e528bdc View commit details
    Browse the repository at this point in the history