Lines Matching refs:child
31 if (process.argv[2] === 'child') {
78 const child = fork(process.argv[1], ['child']);
80 child.on('exit', common.mustCall((code, signal) => {
85 // Send net.Server to child and test by connecting.
92 child.send({ what: 'close' });
101 // Create server and send it to child.
116 child.send({ what: 'server' }, server);
143 child.removeListener('message', messageHandlers);
148 child.on('message', messageHandlers);
153 child.removeListener('message', onReady);
157 // Create server and send it to child.
158 child.on('message', onReady);