mirror of
https://github.com/nodejs/node.git
synced 2024-11-29 23:16:30 +01:00
c0305af2c4
PR-URL: https://github.com/nodejs/node/pull/29778 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
15 lines
313 B
JavaScript
15 lines
313 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const fixtures = require('../common/fixtures');
|
|
const { execSync } = require('child_process');
|
|
|
|
execSync(process.execPath, {
|
|
encoding: 'utf8',
|
|
stdio: 'inherit',
|
|
env: {
|
|
...process.env,
|
|
NODE_REPL_EXTERNAL_MODULE: fixtures.path('external-repl-module.js'),
|
|
},
|
|
});
|