Lines Matching refs:args
112 const args = [...flags, ...process.execArgv, ...process.argv.slice(1)];
114 const result = spawnSync(process.execPath, args, options);
416 return mustCall(function(err, ...args) {
419 return fn.apply(this, args);
529 return function mustNotCall(...args) {
530 const argsInfo = args.length > 0 ?
531 `\ncalled with arguments: ${args.map((arg) => inspect(arg)).join(', ')}` : '';
696 return mustCall((...args) => {
697 if (args.length !== 1) {
700 assert.fail(`Expected one argument, got ${inspect(args)}`);
702 const error = args.pop();
858 function spawnPromisified(...args) {
862 const child = spawn(...args);