Home
last modified time | relevance | path

Searched refs:spawnSync (Results 1 - 25 of 65) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-source-map-enable.js10 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 Dtest-child-process-spawnsync-input.js27 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 Dtest-runner-coverage.js4 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 Dtest-v8-coverage.js9 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 Dtest-child-process-spawnsync-kill-signal.js11 const oldSpawnSync = internalCp.spawnSync;
16 internalCp.spawnSync = common.mustCall(function(opts) {
21 const child = cp.spawnSync(process.execPath,
25 internalCp.spawnSync = oldSpawnSync;
H A Dtest-runner-cli.js5 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 Dtest-child-process-windows-hide.js12 // 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 Dtest-snapshot-weak-reference.js7 const { spawnSync } = require('child_process');
19 const child = spawnSync(process.execPath, [
39 const child = spawnSync(process.execPath, [
H A Dtest-internal-util-decorate-error-stack.js14 const spawnSync = require('child_process').spawnSync;
63 const result = spawnSync(process.argv[0], args, { encoding: 'utf8' });
H A Dtest-vm-cached-data.js5 const spawnSync = require('child_process').spawnSync;
15 const out = spawnSync(process.execPath, [ '-e', `
H A Dtest-process-really-exit.js13 const { spawnSync } = require('child_process');
14 const out = spawnSync(process.execPath, [__filename, 'subprocess']);
H A Dtest-child-process-spawnsync-args.js4 // as a placeholder for the second argument (`args`) of `spawnSync()`.
13 const { spawnSync } = require('child_process');
36 const { stdout, stderr, error } = spawnSync(
H A Dtest-cli-bad-options.js7 const { spawnSync } = require('child_process');
18 const r = spawnSync(process.execPath, [option], { encoding: 'utf8' });
H A Dtest-cli-options-negation.js4 const { spawnSync } = require('child_process');
30 return spawnSync(process.execPath, [...flags, '-e', 'new Buffer(0)']);
/third_party/node/tools/
H A Dtest-npm-package.js19 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 Dindex.js21 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 Dtest-child-process-execsync.js29 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 Dtest-debugger-debug-brk.js8 const { spawnSync } = require('child_process');
14 const child = spawnSync(process.execPath, ['--inspect', arg, script]);
/third_party/node/test/abort/
H A Dtest-addon-uv-handle-leak.js7 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 Dtest-callback-error.js4 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 Dtest-linux-perf.js17 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 Dsnapshot.js4 const { spawnSync } = require('child_process');
10 const child = spawnSync(process.execPath, [
43 const child = spawnSync(process.execPath, args, {
H A Drequire-as.js4 const { spawnSync } = require('child_process');
7 return spawnSync(process.execPath,
/third_party/node/test/report/
H A Dtest-report-writereport.js6 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 Dlinux-perf.js3 const { spawnSync } = require("child_process");
12 spawnSync('sleep', [`${sleepTime}`]);

Completed in 5 milliseconds

123