diff options
author | cjihrig <cjihrig@gmail.com> | 2018-08-23 11:04:19 -0400 |
---|---|---|
committer | cjihrig <cjihrig@gmail.com> | 2018-08-27 17:49:01 -0400 |
commit | 56cf05887841e593240e5b8c4b1d59116234994b (patch) | |
tree | 326046463b251764c680edaedf97f91c1d578f4c /lib | |
parent | 68dff4a67b7222770f90fc5d9bdd884f8db4a24b (diff) | |
download | android-node-v8-56cf05887841e593240e5b8c4b1d59116234994b.tar.gz android-node-v8-56cf05887841e593240e5b8c4b1d59116234994b.tar.bz2 android-node-v8-56cf05887841e593240e5b8c4b1d59116234994b.zip |
child_process: make process_wrap binding internal
PR-URL: https://github.com/nodejs/node/pull/22479
Refs: https://github.com/nodejs/node/issues/22160
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/internal/bootstrap/node.js | 1 | ||||
-rw-r--r-- | lib/internal/child_process.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 49dedc5fe2..3e3eaa5b60 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -350,6 +350,7 @@ new SafeSet([ 'uv', 'http_parser', + 'process_wrap', 'v8', 'stream_wrap', 'signal_wrap', diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js index 4b321011ca..8aad6bcd6f 100644 --- a/lib/internal/child_process.js +++ b/lib/internal/child_process.js @@ -23,7 +23,7 @@ const assert = require('assert'); const { internalBinding } = require('internal/bootstrap/loaders'); -const { Process } = process.binding('process_wrap'); +const { Process } = internalBinding('process_wrap'); const { WriteWrap } = internalBinding('stream_wrap'); const { Pipe, constants: PipeConstants } = process.binding('pipe_wrap'); const { TTY } = process.binding('tty_wrap'); |