diff --git a/test/message/node_run_list.js b/test/message/node_run_list.js index 24cb5656e285..c4f846e56705 100644 --- a/test/message/node_run_list.js +++ b/test/message/node_run_list.js @@ -4,10 +4,9 @@ require('../common'); const { spawnSyncAndExit } = require('../common/child_process'); const fixtures = require('../common/fixtures'); -const { child } = spawnSyncAndExit( +spawnSyncAndExit( process.execPath, [ '--no-warnings', '--run'], - { cwd: fixtures.path('run-script'), encoding: 'utf8' }, + { cwd: fixtures.path('run-script'), encoding: 'utf8', stdio: ['ignore', 'ignore', 'inherit'] }, { status: 9, signal: null }, ); -console.log(child.stderr);