child_process: expose ChildProcess constructor
authorEvan Lucas <evanlucas@me.com>
Fri, 22 May 2015 14:52:05 +0000 (09:52 -0500)
committerEvan Lucas <evanlucas@me.com>
Thu, 28 May 2015 14:38:29 +0000 (09:38 -0500)
commita77c330c32fc1c2ffd5069e3ca57e4d3478b2e5e
tree281402c01ca42b13a8f3b615658077fd9a4661da
parentfbd2b597163a687c5485186161891ac54bef441a
child_process: expose ChildProcess constructor

Creates two new internal modules (child_process and socket_list) for
better readability.

Exposes the ChildProcess constructor from the child_process module so
one can now `require(‘child_process’).ChildProcess`

Fixes: https://github.com/nodejs/io.js/issues/1751
PR-URL: https://github.com/nodejs/io.js/pull/1760
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
lib/child_process.js
lib/internal/child_process.js [new file with mode: 0644]
lib/internal/socket_list.js [new file with mode: 0644]
node.gyp
test/parallel/test-child-process-constructor.js [new file with mode: 0644]
test/parallel/test-child-process-validate-stdio.js [new file with mode: 0644]