mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65572 Refs: https://github.com/nodejs/node/pull/65552/changes#r3862720795 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
13 lines
352 B
JavaScript
13 lines
352 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const { spawnSyncAndExit } = require('../common/child_process');
|
|
const fixtures = require('../common/fixtures');
|
|
|
|
spawnSyncAndExit(
|
|
process.execPath,
|
|
[ '--no-warnings', '--run'],
|
|
{ cwd: fixtures.path('run-script'), encoding: 'utf8', stdio: ['ignore', 'ignore', 'inherit'] },
|
|
{ status: 9, signal: null },
|
|
);
|