mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
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'),
|
||
|
},
|
||
|
});
|