Files
node/test/parallel/test-child-process-spawnsync-non-string-args.js
2026-04-14 19:20:13 +00:00

8 lines
229 B
JavaScript

'use strict';
const common = require('../common');
const { spawnSync } = require('child_process');
const stateful = {
toString: common.mustCall(() => ';'),
};
spawnSync(process.execPath, ['-e', stateful], { stdio: 'ignore' });