/third_party/node/test/parallel/ |
H A D | test-child-process-spawn-typeerror.js | 25 const { spawn, fork, execFile } = require('child_process'); 43 spawn(invalidcmd, 'this is not an array'); 47 spawn(cmd); 48 spawn(cmd, []); 49 spawn(cmd, {}); 50 spawn(cmd, [], {}); 54 spawn(); 58 spawn(''); 63 spawn(file); 67 spawn(cm [all...] |
H A D | test-child-process-stdio.js | 25 const { spawn } = require('child_process'); 29 const child = spawn(...common.pwdCommand, { stdio: ['pipe'] }); 36 const child = spawn(...common.pwdCommand, { stdio: 'ignore' }); 44 spawn(...common.pwdCommand, options); 51 const child = spawn(...common.pwdCommand); 71 spawn(
|
H A D | test-child-process-spawnsync-kill-signal.js | 14 function spawn(killSignal, beforeSpawn) { function 33 spawn('SIG_NOT_A_REAL_SIGNAL'); 38 const child = spawn(undefined, (opts) => { 47 const child = spawn('SIGKILL', (opts) => { 58 const child = spawn(SIGKILL, (opts) => {
|
H A D | test-child-process-stdio-inherit.js | 25 const spawn = require('child_process').spawn; 33 const child = spawn(process.execPath, [__filename, 'parent']); 55 spawn('cat', [], { stdio: 'inherit' });
|
H A D | test-set-http-max-http-headers.js | 5 const { spawn } = require('child_process'); 24 const cp = spawn(process.execPath, args, { stdio: 'inherit' }); 45 const cp = spawn(process.execPath, args, { 68 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' }); 80 const cp = spawn(process.execPath, args, { env, stdio: 'inherit' });
|
H A D | test-inspector-stops-no-file.js | 4 const spawn = require('child_process').spawn; 6 const child = spawn(process.execPath,
|
H A D | test-listen-fd-detached-inherit.js | 30 const spawn = require('child_process').spawn; 45 const parent = spawn(process.execPath, [__filename, 'parent'], { 92 const child = spawn(process.execPath, [__filename, 'child'], {
|
H A D | test-listen-fd-detached.js | 30 const spawn = require('child_process').spawn; 45 const parent = spawn(process.execPath, [__filename, 'parent'], { 90 const child = spawn(process.execPath, [__filename, 'child'], {
|
H A D | test-stdout-stderr-reading.js | 23 const spawn = require('child_process').spawn; 26 const c1 = spawn(node, [__filename, 'child']); 43 const c2 = spawn(node, ['-e', 'console.log("ok")']);
|
H A D | test-child-process-spawn-event.js | 3 const spawn = require('child_process').spawn; 6 const subprocess = spawn('echo', ['ok']); 9 subprocess.on('spawn', function() { 19 subprocess.on('spawn', common.mustCall());
|
H A D | test-tls-cipher-list.js | 8 const spawn = require('child_process').spawn; 17 spawn(process.execPath, arg, {})
|
H A D | test-process-raw-debug.js | 38 const spawn = require('child_process').spawn; 39 const child = spawn(process.execPath, [__filename, 'child']);
|
/third_party/node/deps/npm/node_modules/cross-spawn/ |
H A D | index.js | 7 function spawn(command, args, options) { function 12 const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); 15 // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 28 // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16 34 module.exports = spawn; 35 module.exports.spawn = spawn;
|
/third_party/node/test/fixtures/ |
H A D | parent-process-nonpersistent.js | 2 const spawn = require('child_process').spawn, 6 var child = spawn(process.execPath, [ childPath ], {
|
/third_party/node/benchmark/child_process/ |
H A D | spawn-echo.js | 7 const spawn = require('child_process').spawn; 17 const child = spawn('echo', ['hello']);
|
H A D | child-process-read-ipc.js | 20 const spawn = require('child_process').spawn; 26 const child = spawn(process.argv[0],
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_spawn.py | 1 """Tests for distutils.spawn.""" 9 from distutils.spawn import find_executable 10 from distutils.spawn import spawn namespace 35 self.assertRaises(DistutilsExecError, spawn, [exe]) 46 spawn([exe]) # should work without any error 83 with unittest.mock.patch('distutils.spawn.os.confstr', 85 unittest.mock.patch('distutils.spawn.os.defpath', 98 with unittest.mock.patch('distutils.spawn.os.confstr', 100 unittest.mock.patch('distutils.spawn [all...] |
/third_party/libuv/test/ |
H A D | benchmark-spawn.c | 47 static void spawn(void); 54 spawn(); in maybe_spawn() 103 static void spawn(void) { in spawn() function 137 BENCHMARK_IMPL(spawn) { in BENCHMARK_IMPL() 150 spawn(); in BENCHMARK_IMPL() 158 fprintf(stderr, "spawn: %.0f spawns/s\n", in BENCHMARK_IMPL()
|
/third_party/node/test/sequential/ |
H A D | test-net-GH-5504.js | 71 const spawn = require('child_process').spawn; 74 const s = spawn(node, [__filename, 'server'], { 85 const c = spawn(node, [__filename, 'client']);
|
H A D | test-next-tick-error-spin.js | 27 const spawn = require('child_process').spawn; 28 const child = spawn(process.execPath, [__filename, 'child'], {
|
/third_party/python/Lib/multiprocessing/ |
H A D | popen_spawn_posix.py | 6 from . import spawn namespace 27 method = 'spawn' 42 prep_data = spawn.get_preparation_data(process_obj._name) 55 cmd = spawn.get_command_line(tracker_fd=tracker_fd, 58 self.pid = util.spawnv_passfds(spawn.get_executable(),
|
/third_party/node/test/message/ |
H A D | eval_messages.js | 26 const spawn = require('child_process').spawn; 32 const child = spawn(process.execPath, args);
|
H A D | stdin_messages.js | 26 const spawn = require('child_process').spawn; 32 const child = spawn(process.execPath, args);
|
/third_party/node/test/pummel/ |
H A D | test-child-process-spawn-loop.js | 26 const spawn = require('child_process').spawn; 34 const child = spawn(python, ['-c', `print(${SIZE} * "C")`]);
|
/third_party/node/test/async-hooks/ |
H A D | test-graph.pipe.js | 6 const spawn = require('child_process').spawn; 11 const sleep = spawn('sleep', [ '0.1' ]);
|