diff options
author | Anto Aravinth <anto.aravinth.cse@gmail.com> | 2018-09-04 17:10:51 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2018-09-15 14:48:44 +0300 |
commit | 9c9c01f1839e931b27993439ae7076aba8f25c01 (patch) | |
tree | 0bf6f98e634a4d45846ca1bed89516af3c78ebce /lib/internal/child_process.js | |
parent | dadd6e16888baac8fd110432b81f3fd1237be3e1 (diff) |
child_process: move process.binding('spawn_sync') to internalBinding
PR-URL: https://github.com/nodejs/node/pull/22260
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: John-David Dalton <john.david.dalton@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'lib/internal/child_process.js')
-rw-r--r-- | lib/internal/child_process.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/internal/child_process.js b/lib/internal/child_process.js index a4850f0238d..1c5aace9151 100644 --- a/lib/internal/child_process.js +++ b/lib/internal/child_process.js @@ -22,7 +22,6 @@ const util = require('util'); const assert = require('assert'); const { internalBinding } = require('internal/bootstrap/loaders'); - const { Process } = internalBinding('process_wrap'); const { WriteWrap } = internalBinding('stream_wrap'); const { Pipe, constants: PipeConstants } = internalBinding('pipe_wrap'); @@ -33,7 +32,7 @@ const SocketList = require('internal/socket_list'); const { owner_symbol } = require('internal/async_hooks').symbols; const { convertToValidSignal } = require('internal/util'); const { isArrayBufferView } = require('internal/util/types'); -const spawn_sync = process.binding('spawn_sync'); +const spawn_sync = internalBinding('spawn_sync'); const { HTTPParser } = internalBinding('http_parser'); const { freeParser } = require('_http_common'); const { kStateSymbol } = require('internal/dgram'); |