Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

child_process: give forks stdout and stderr #2454

Closed
wants to merge 1 commit into from
Closed

child_process: give forks stdout and stderr #2454

wants to merge 1 commit into from

Commits on Jan 3, 2012

  1. child_process: give forks stdout and stderr

    Previously using these streams was not possible because of making them
    use given file descriptors. This solution is more generic - it uses
    `pipe` function to pipe fork's output into parent's `stdout` and
    `stderr` unless `silent: true` is set as an option.
    
    This doesn't break any existing API and it makes `fork` more compatible
    with `spawn`.
    
    Please note that fork's `stdout` and `stderr` aren't meant to be used as
    communication channels - use `fork(...).send()` instead.
    
    Fixes #2442.
    mmalecki committed Jan 3, 2012
    Configuration menu
    Copy the full SHA
    ae2a4ee View commit details
    Browse the repository at this point in the history