Home
last modified time | relevance | path

Searched refs:spawnSync (Results 1 – 25 of 178) sorted by relevance

12345678

/third_party/node/test/parallel/
Dtest-child-process-spawnsync-input.js27 const spawnSync = require('child_process').spawnSync; constant
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('cat', [], options);
119 verifyBufOutput(spawnSync(process.execPath, args));
[all …]
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(process.execPath, [
[all …]
Dtest-policy-dependencies.js11 const { spawnSync } = require('child_process');
19 const { status, stderr, stdout } = spawnSync(
33 const { status } = spawnSync(
46 const { status } = spawnSync(
59 const { status, stderr, stdout } = spawnSync(
73 const { status } = spawnSync(
86 const { status } = spawnSync(
99 const { status } = spawnSync(
113 const { status, stderr } = spawnSync(
132 const { status } = spawnSync(
Dtest-child-process-spawnsync-shell.js7 const oldSpawnSync = internalCp.spawnSync;
10 const doesNotExist = cp.spawnSync('does-not-exist', { shell: true });
22 internalCp.spawnSync = common.mustCall(function(opts) {
27 const echo = cp.spawnSync('echo', ['foo'], { shell: true });
28 internalCp.spawnSync = oldSpawnSync;
34 const command = cp.spawnSync(cmd, { shell: true });
39 const env = cp.spawnSync(`"${process.execPath}" -pe process.env.BAZ`, {
63 internalCp.spawnSync = common.mustCall(function(opts) {
74 cp.spawnSync(cmd, { shell });
75 internalCp.spawnSync = oldSpawnSync;
Dtest-child-process-spawnsync.js28 const { spawnSync } = require('child_process');
33 const ret = spawnSync('sleep', ['0']);
37 const ret_err = spawnSync('command_does_not_exist', ['bar']).error;
48 const response = spawnSync(...common.pwdCommand, { cwd });
56 const retDefault = spawnSync(...common.pwdCommand);
57 const retBuffer = spawnSync(...common.pwdCommand, { encoding: 'buffer' });
60 const retUTF8 = spawnSync(...common.pwdCommand, { encoding: 'utf8' });
Dtest-child-process-spawnsync-maxbuf.js8 const spawnSync = require('child_process').spawnSync; constant
20 const ret = spawnSync(process.execPath, args, { maxBuffer: 1 });
32 const ret = spawnSync(process.execPath, args, { maxBuffer: Infinity });
41 const ret = spawnSync(process.execPath, args);
51 const ret = spawnSync(process.execPath, args);
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(process.execPath, [
Dtest-policy-integrity-flag.js11 const { spawnSync } = require('child_process');
33 const { status, stderr } = spawnSync(
45 const { status, stderr } = spawnSync(
57 const { status, stderr } = spawnSync(
Dtest-fs-realpath-on-substed-drive.js11 const spawnSync = require('child_process').spawnSync; constant
21 result = spawnSync('subst', [drive, fixtures.fixturesDir]);
30 spawnSync('subst', ['/d', drive]);
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;
Dtest-cli-options-precedence.js4 const { spawnSync } = require('child_process');
7 assert.strictEqual(spawnSync(process.execPath, [
16 assert.strictEqual(spawnSync(process.execPath, [
Dtest-icu-data-dir.js12 const { spawnSync } = require('child_process');
19 const child = spawnSync(process.execPath, ['--icu-data-dir=/', '-e', '0']);
25 const child = spawnSync(process.execPath, ['-e', '0'], { env });
Dtest-policy-scopes.js11 const { spawnSync } = require('child_process');
19 const { status } = spawnSync(
33 const { status } = spawnSync(
Dtest-openssl-ca-options.js11 const result = childProcess.spawnSync(
22 const useBundledCA = childProcess.spawnSync(process.execPath, [
27 const useOpenSSLCA = childProcess.spawnSync(process.execPath, [
Dtest-startup-large-pages.js7 const { spawnSync } = require('child_process');
10 const child = spawnSync(process.execPath,
21 const child = spawnSync(process.execPath,
Dtest-tick-processor-arguments.js6 const { spawnSync } = require('child_process');
16 spawnSync(process.execPath, [ '--prof', '-p', '42' ], { cwd: tmpdir.path });
26 const { stdout } = spawnSync(
Dtest-heapsnapshot-near-heap-limit.js6 const { spawnSync } = require('child_process');
16 const child = spawnSync(process.execPath, [
30 const child = spawnSync(process.execPath, [
51 const child = spawnSync(process.execPath, [
/third_party/node/test/embedding/
Dtest-embedding.js17 child_process.spawnSync(binary, ['console.log(42)'])
22 child_process.spawnSync(binary, ['console.log(embedVars.nön_ascıı)'])
27 child_process.spawnSync(binary, ['console.log(42)'])
32 child_process.spawnSync(binary, ['throw new Error()']).status,
36 child_process.spawnSync(binary, ['process.exitCode = 8']).status,
42 child_process.spawnSync(binary, [`require(${fixturePath})`, 92]).status,
/third_party/node/test/es-module/
Dtest-esm-tla-unfinished.mjs8 const { status, stdout, stderr } = child_process.spawnSync(
17 const { status, stdout, stderr } = child_process.spawnSync(
27 const { status, stdout, stderr } = child_process.spawnSync(
37 const { status, stdout, stderr } = child_process.spawnSync(
48 const { status, stdout, stderr } = child_process.spawnSync(
57 const { status, stdout, stderr } = child_process.spawnSync(
67 const { status, stdout, stderr } = child_process.spawnSync(
76 const { status, stdout, stderr } = child_process.spawnSync(
86 const { status, stdout, stderr } = child_process.spawnSync(
95 const { status, stdout, stderr } = child_process.spawnSync(
/third_party/node/test/sequential/
Dtest-heap-prof.js13 const { spawnSync } = require('child_process');
73 const output = spawnSync(process.execPath, [
93 const output = spawnSync(process.execPath, [
115 const output = spawnSync(process.execPath, [
136 const output = spawnSync(process.execPath, [
159 const output = spawnSync(process.execPath, [
180 const output = spawnSync(process.execPath, [
201 const output = spawnSync(process.execPath, [
222 const output = spawnSync(process.execPath, [
245 const output = spawnSync(process.execPath, [
[all …]
Dtest-cpu-prof-invalid-options.js10 const { spawnSync } = require('child_process');
21 const output = spawnSync(process.execPath, [
42 const output = spawnSync(process.execPath, [
63 const output = spawnSync(process.execPath, [
/third_party/node/test/report/
Dtest-report-fatal-error.js9 const spawnSync = require('child_process').spawnSync; constant
38 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path });
56 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path });
68 const child = spawnSync(process.execPath, args, { });
85 const child = spawnSync(process.execPath, args, { cwd: tmpdir.path });
109 const child = spawnSync(process.execPath, args, { encoding: 'utf8' });
/third_party/node/tools/
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/JSONStream/test/
Drun.js2 var spawnSync = require('child_process').spawnSync variable
10 var result = spawnSync(process.argv0, [file], { stdio: 'inherit', cwd: __dirname} )
/third_party/node/test/abort/
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;

12345678