/third_party/node/test/parallel/ |
H A D | test-source-map-enable.js | 10 const { spawnSync } = require('child_process'); 25 const output = spawnSync(process.execPath, [ 40 const output = spawnSync(process.execPath, [ 57 const output = spawnSync(process.execPath, [ 68 const output = spawnSync(process.execPath, [ 80 const output = spawnSync(process.execPath, [ 101 const output = spawnSync(process.execPath, [ 122 const output = spawnSync(process.execPath, [ 138 const output = spawnSync(process.execPath, [ 154 const output = spawnSync(proces [all...] |
H A D | test-child-process-spawnsync-input.js | 27 const spawnSync = require('child_process').spawnSync; 58 ret = spawnSync(process.execPath, args, { stdio: 'inherit' }); 62 ret = spawnSync(process.execPath, args, { 72 verifyBufOutput(spawnSync(process.execPath, [__filename, 'spawnchild', 1])); 73 verifyBufOutput(spawnSync(process.execPath, [__filename, 'spawnchild', 2])); 80 () => spawnSync('cat', [], options), 87 ret = spawnSync('cat', [], options); 97 ret = spawnSync('cat', [], options); 111 ret = spawnSync('ca [all...] |
H A D | test-runner-coverage.js | 4 const { spawnSync } = require('node:child_process'); 75 const result = spawnSync(process.execPath, args); 89 const result = spawnSync(process.execPath, args, options); 101 const result = spawnSync(process.execPath, args); 116 const result = spawnSync(process.execPath, args, options); 128 const result = spawnSync(process.execPath, args); 143 const result = spawnSync(process.execPath, args); 176 const result = spawnSync(process.execPath, args, {
|
H A D | test-v8-coverage.js | 9 const { spawnSync } = require('child_process'); 22 const output = spawnSync(process.execPath, [ 41 const output = spawnSync(process.execPath, [ 59 const output = spawnSync(process.execPath, [ 78 const output = spawnSync(process.execPath, [ 99 const output = spawnSync(process.execPath, [ 119 const output = spawnSync(process.execPath, [ 139 const output = spawnSync(process.execPath, [ 155 const output = spawnSync(process.execPath, [ 174 const output = spawnSync(proces [all...] |
H A D | test-child-process-spawnsync-kill-signal.js | 11 const oldSpawnSync = internalCp.spawnSync; 16 internalCp.spawnSync = common.mustCall(function(opts) { 21 const child = cp.spawnSync(process.execPath, 25 internalCp.spawnSync = oldSpawnSync;
|
H A D | test-runner-cli.js | 5 const { spawnSync } = require('child_process'); 14 const child = spawnSync(process.execPath, args); 26 const child = spawnSync(process.execPath, args, { cwd: join(testFixtures, 'default-behavior') }); 43 const child = spawnSync(process.execPath, args, { cwd: join(testFixtures, 'default-behavior') }); 60 const child = spawnSync(process.execPath, args, { cwd: testFixtures }); 72 const child = spawnSync(process.execPath, args); 85 const child = spawnSync(process.execPath, args, options); 109 const child = spawnSync(process.execPath, args); 127 const child = spawnSync(process.execPath, args); 176 const child = spawnSync(proces [all...] |
H A D | test-child-process-windows-hide.js | 12 // spawnSync() to verify that the flag is being passed through correctly. 14 const originalSpawnSync = internalCp.spawnSync; 21 internalCp.spawnSync = common.mustCall(function(options) { 27 const child = cp.spawnSync(cmd, args, options);
|
H A D | test-snapshot-weak-reference.js | 7 const { spawnSync } = require('child_process'); 19 const child = spawnSync(process.execPath, [ 39 const child = spawnSync(process.execPath, [
|
H A D | test-internal-util-decorate-error-stack.js | 14 const spawnSync = require('child_process').spawnSync; 63 const result = spawnSync(process.argv[0], args, { encoding: 'utf8' });
|
H A D | test-vm-cached-data.js | 5 const spawnSync = require('child_process').spawnSync; 15 const out = spawnSync(process.execPath, [ '-e', `
|
H A D | test-process-really-exit.js | 13 const { spawnSync } = require('child_process'); 14 const out = spawnSync(process.execPath, [__filename, 'subprocess']);
|
H A D | test-child-process-spawnsync-args.js | 4 // as a placeholder for the second argument (`args`) of `spawnSync()`. 13 const { spawnSync } = require('child_process'); 36 const { stdout, stderr, error } = spawnSync(
|
H A D | test-cli-bad-options.js | 7 const { spawnSync } = require('child_process'); 18 const r = spawnSync(process.execPath, [option], { encoding: 'utf8' });
|
H A D | test-cli-options-negation.js | 4 const { spawnSync } = require('child_process'); 30 return spawnSync(process.execPath, [...flags, '-e', 'new Buffer(0)']);
|
/third_party/node/tools/ |
H A D | test-npm-package.js | 19 const { spawn, spawnSync } = require('child_process'); 34 return spawnSync('xcopy.exe', ['/E', source, destination]); 36 return spawnSync('cp', ['-r', `${source}/`, destination]); 73 spawnSync(process.execPath, [ 80 spawnSync(process.execPath, [
|
/third_party/node/deps/npm/node_modules/cross-spawn/ |
H A D | index.js | 21 function spawnSync(command, args, options) { function 26 const result = cp.spawnSync(parsed.command, parsed.args, parsed.options); 36 module.exports.sync = spawnSync;
|
/third_party/node/test/sequential/ |
H A D | test-child-process-execsync.js | 29 const { execFileSync, execSync, spawnSync } = require('child_process'); 46 /spawnSync bad_shell ENOENT/ 50 /spawnSync bad_shell ENOENT/ 129 const spawnSyncResult = spawnSync(process.execPath, args);
|
H A D | test-debugger-debug-brk.js | 8 const { spawnSync } = require('child_process'); 14 const child = spawnSync(process.execPath, ['--inspect', arg, script]);
|
/third_party/node/test/abort/ |
H A D | test-addon-uv-handle-leak.js | 7 const { spawnSync } = require('child_process'); 39 const child = cp.spawnSync(process.execPath, [__filename, 'child']); 65 const lddOut = spawnSync('ldd', [process.execPath]).stdout; 70 const nmOut = spawnSync('nm', ['-D', libcInfo[0][1]]).stdout;
|
/third_party/node/test/async-hooks/ |
H A D | test-callback-error.js | 4 const { spawnSync } = require('child_process'); 40 const child = spawnSync(process.execPath, [__filename, 'test_init_callback']); 51 const child = spawnSync(process.execPath, [__filename, 'test_callback']); 71 const child = spawnSync(program, args, options);
|
/third_party/node/test/v8-updates/ |
H A D | test-linux-perf.js | 17 const { spawnSync } = require('child_process'); 86 const perf = spawnSync('perf', perfArgs, options); 91 const perfScript = spawnSync('perf', perfScriptArgs, options);
|
/third_party/node/test/common/ |
H A D | snapshot.js | 4 const { spawnSync } = require('child_process'); 10 const child = spawnSync(process.execPath, [ 43 const child = spawnSync(process.execPath, args, {
|
H A D | require-as.js | 4 const { spawnSync } = require('child_process'); 7 return spawnSync(process.execPath,
|
/third_party/node/test/report/ |
H A D | test-report-writereport.js | 6 const { spawnSync } = require('child_process'); 99 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); 109 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path }); 124 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path });
|
/third_party/node/test/fixtures/ |
H A D | linux-perf.js | 3 const { spawnSync } = require("child_process"); 12 spawnSync('sleep', [`${sleepTime}`]);
|