Home
last modified time | relevance | path

Searched refs:spawn (Results 1 - 25 of 1394) sorted by relevance

12345678910>>...56

/third_party/node/test/parallel/
H A Dtest-child-process-spawn-typeerror.js25 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 Dtest-child-process-stdio.js25 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 Dtest-child-process-spawnsync-kill-signal.js14 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 Dtest-child-process-stdio-inherit.js25 const spawn = require('child_process').spawn;
33 const child = spawn(process.execPath, [__filename, 'parent']);
55 spawn('cat', [], { stdio: 'inherit' });
H A Dtest-set-http-max-http-headers.js5 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 Dtest-inspector-stops-no-file.js4 const spawn = require('child_process').spawn;
6 const child = spawn(process.execPath,
H A Dtest-listen-fd-detached-inherit.js30 const spawn = require('child_process').spawn;
45 const parent = spawn(process.execPath, [__filename, 'parent'], {
92 const child = spawn(process.execPath, [__filename, 'child'], {
H A Dtest-listen-fd-detached.js30 const spawn = require('child_process').spawn;
45 const parent = spawn(process.execPath, [__filename, 'parent'], {
90 const child = spawn(process.execPath, [__filename, 'child'], {
H A Dtest-stdout-stderr-reading.js23 const spawn = require('child_process').spawn;
26 const c1 = spawn(node, [__filename, 'child']);
43 const c2 = spawn(node, ['-e', 'console.log("ok")']);
H A Dtest-child-process-spawn-event.js3 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 Dtest-tls-cipher-list.js8 const spawn = require('child_process').spawn;
17 spawn(process.execPath, arg, {})
H A Dtest-process-raw-debug.js38 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 Dindex.js7 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 Dparent-process-nonpersistent.js2 const spawn = require('child_process').spawn,
6 var child = spawn(process.execPath, [ childPath ], {
/third_party/python/Lib/distutils/tests/
H A Dtest_spawn.py1 """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/node/benchmark/child_process/
H A Dspawn-echo.js7 const spawn = require('child_process').spawn;
17 const child = spawn('echo', ['hello']);
H A Dchild-process-read-ipc.js20 const spawn = require('child_process').spawn;
26 const child = spawn(process.argv[0],
/third_party/libuv/test/
H A Dbenchmark-spawn.c47 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 Dtest-net-GH-5504.js71 const spawn = require('child_process').spawn;
74 const s = spawn(node, [__filename, 'server'], {
85 const c = spawn(node, [__filename, 'client']);
H A Dtest-next-tick-error-spin.js27 const spawn = require('child_process').spawn;
28 const child = spawn(process.execPath, [__filename, 'child'], {
/third_party/python/Lib/multiprocessing/
H A Dpopen_spawn_posix.py6 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 Deval_messages.js26 const spawn = require('child_process').spawn;
32 const child = spawn(process.execPath, args);
H A Dstdin_messages.js26 const spawn = require('child_process').spawn;
32 const child = spawn(process.execPath, args);
/third_party/node/test/pummel/
H A Dtest-child-process-spawn-loop.js26 const spawn = require('child_process').spawn;
34 const child = spawn(python, ['-c', `print(${SIZE} * "C")`]);
/third_party/node/test/async-hooks/
H A Dtest-graph.pipe.js6 const spawn = require('child_process').spawn;
11 const sleep = spawn('sleep', [ '0.1' ]);

Completed in 4 milliseconds

12345678910>>...56