We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deac028 commit a5b35dbCopy full SHA for a5b35db
lib/internal/process.js
@@ -227,14 +227,7 @@ function setupChannel() {
227
// Make sure it's not accidentally inherited by child processes.
228
delete process.env.NODE_CHANNEL_FD;
229
230
- const cp = require('child_process');
231
-
232
- // Load tcp_wrap to avoid situation where we might immediately receive
233
- // a message.
234
- // FIXME is this really necessary?
235
- process.binding('tcp_wrap');
236
237
- cp._forkChild(fd);
+ require('child_process')._forkChild(fd);
238
assert(process.send);
239
}
240
0 commit comments