2019-09-26 15:58:49 -07:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
require('../common');
|
|
|
|
const fixtures = require('../common/fixtures');
|
2024-09-25 23:27:50 +02:00
|
|
|
const { execFileSync } = require('child_process');
|
2019-09-26 15:58:49 -07:00
|
|
|
|
2024-09-25 23:27:50 +02:00
|
|
|
execFileSync(process.execPath, {
|
2019-09-26 15:58:49 -07:00
|
|
|
encoding: 'utf8',
|
|
|
|
stdio: 'inherit',
|
|
|
|
env: {
|
|
|
|
...process.env,
|
|
|
|
NODE_REPL_EXTERNAL_MODULE: fixtures.path('external-repl-module.js'),
|
|
|
|
},
|
|
|
|
});
|