mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Signed-off-by: James Ross <james@jross.me> PR-URL: https://github.com/nodejs/node/pull/64606 Fixes: https://github.com/nodejs/node/issues/64870 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com>
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const assert = require('node:assert/strict');
|
|
const childProcess = require('node:child_process');
|
|
const fixtures = require('../common/fixtures');
|
|
|
|
const child = childProcess.spawnSync(
|
|
process.execPath,
|
|
[ '--no-warnings', '--run'],
|
|
{ cwd: fixtures.path('run-script'), encoding: 'utf8' },
|
|
);
|
|
assert.strictEqual(child.status, 9);
|
|
console.log(child.stderr);
|