/third_party/node/test/parallel/ |
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(cmd, true); [all …]
|
D | test-child-process-double-pipe.js | 30 const spawn = require('child_process').spawn; constant 39 grep = spawn('grep', ['--binary', 'o']); 40 sed = spawn('sed', ['--binary', 's/o/O/']); 41 echo = spawn('cmd.exe', 45 grep = spawn('grep', ['o']); 46 sed = spawn('sed', ['s/o/O/']); 47 echo = spawn('echo', ['hello\nnode\nand\nworld\n']);
|
D | test-child-process-spawn-controller.js | 5 const { spawn } = require('child_process'); 14 const cp = spawn(process.execPath, [aliveScript], { 34 const cp = spawn(process.execPath, [aliveScript], { 55 const cp = spawn(process.execPath, [aliveScript], { 76 const cp = spawn(process.execPath, [aliveScript], { 93 const cp = spawn(process.execPath, [aliveScript], { 110 const cp = spawn(process.execPath, [aliveScript], { 129 const cp = spawn(process.execPath, [aliveScript], { 150 const cp = spawn(process.execPath, [aliveScript], { 172 const cp = spawn(process.execPath, [aliveScript], {
|
D | test-child-process-spawn-timeout-kill-signal.js | 6 const { spawn } = require('child_process'); 12 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 20 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 29 throws(() => spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 33 throws(() => spawn(process.execPath, [fixtures.path(aliveForeverFile)], { 42 const cp = spawn(process.execPath, [fixtures.path(aliveForeverFile)], {
|
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(
|
D | test-child-process-reject-null-bytes.js | 13 spawn, 41 throws(() => spawn('BBB\0XXX'), { 56 throws(() => spawn('BBB\0XXX'), { 93 throws(() => spawn(process.execPath, [__filename, 'AAA', 'BBB\0XXX', 'CCC']), { 130 throws(() => spawn(process.execPath, { cwd: 'BBB\0XXX' }), { 167 throws(() => spawn(process.execPath, { argv0: 'BBB\0XXX' }), { 202 throws(() => spawn(process.execPath, { shell: 'BBB\0XXX' }), { 264 throws(() => spawn(process.execPath, { env: { 'AAA': 'BBB\0XXX' } }), { 269 throws(() => spawn(process.execPath, { env: { 'BBB\0XXX': 'AAA' } }), {
|
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) => {
|
D | test-child-process-constructor.js | 14 child.spawn(options); 30 child.spawn({ file }); 46 child.spawn({ envPairs, stdio: ['ignore', 'ignore', 'ignore', 'ipc'] }); 62 child.spawn({ file: 'foo', args }); 74 child.spawn({
|
D | test-child-process-uid-gid.js | 4 const spawn = require('child_process').spawn; constant 12 spawn('echo', ['fhqwhgads'], { uid: 0 }); 18 spawn('echo', ['fhqwhgads'], { gid: 0 });
|
D | test-child-process-pipe-dataflow.js | 12 const spawn = require('child_process').spawn; constant 39 cat = spawn('cat', [file]); 40 grep = spawn('grep', ['x'], { stdio: [cat.stdout, 'pipe', 'pipe'] }); 41 wc = spawn('wc', ['-c'], { stdio: [grep.stdout, 'pipe', 'pipe'] });
|
D | test-child-process-default-options.js | 26 const spawn = require('child_process').spawn; constant 33 child = spawn('cmd.exe', ['/c', 'set'], {}); 35 child = spawn('/usr/bin/env', [], {});
|
D | test-child-process-exit-code.js | 25 const spawn = require('child_process').spawn; constant 29 const exitChild = spawn(process.argv[0], [exitScript, 23]); 37 const errorChild = spawn(process.argv[0], [errorScript]);
|
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' });
|
D | test-child-process-stdio-inherit.js | 25 const spawn = require('child_process').spawn; constant 33 const child = spawn(process.execPath, [__filename, 'parent']); 55 spawn('cat', [], { stdio: 'inherit' });
|
D | test-child-process-stdio-merge-stdouts-into-cat.js | 4 const { spawn } = require('child_process'); 9 const p3 = spawn('cat', { stdio: ['pipe', 'pipe', 'inherit'] }); 10 const p1 = spawn('cat', { stdio: ['pipe', p3.stdin, 'inherit'] }); 11 const p2 = spawn('cat', { stdio: ['pipe', p3.stdin, 'inherit'] });
|
D | test-stdio-pipe-redirect.js | 8 const spawn = require('child_process').spawn; constant 17 const consumer = spawn(process.argv0, [process.argv[1], 'consumer'], { 20 const producer = spawn(process.argv0, [process.argv[1], 'producer'], {
|
D | test-stdio-closed.js | 4 const spawn = require('child_process').spawn; constant 19 const proc = spawn(python, [script, process.execPath, __filename, 'child']); 33 const proc = spawn('/bin/sh', ['-c', cmd], { stdio: 'inherit' });
|
D | test-process-exec-argv.js | 25 const spawn = require('child_process').spawn; constant 41 child = spawn(process.execPath, [...execArgv, ...extra, ...args]); 50 child = spawn(process.execPath, [...execArgv, ...args]);
|
D | test-common-expect-warning.js | 5 const { spawn } = require('child_process'); 10 const child = spawn( 20 const child = spawn( 30 const child = spawn(
|
D | test-child-process-env.js | 32 const spawn = require('child_process').spawn; constant 49 child = spawn('cmd.exe', ['/c', 'set'], { env }); 51 child = spawn('/usr/bin/env', [], { env });
|
/third_party/node/deps/npm/test/lib/commands/ |
D | edit.js | 39 spawk.spawn('testeditor', [semverPath]) 45 spawk.spawn(scriptShell, scriptArgs, { cwd: semverPath }) 55 spawk.spawn('testeditor', [semverPath]) 61 spawk.spawn(scriptShell, scriptArgs, { cwd: semverPath }).exit(1).stdout('test error') 72 spawk.spawn('testeditor', [semverPath]).exit(1).stdout('test editor failure') 90 spawk.spawn('testeditor', ['--flag', semverPath]) 96 spawk.spawn(scriptShell, scriptArgs, { cwd: semverPath }) 122 spawk.spawn('testeditor', [scopedPath]) 129 spawk.spawn('testeditor', [subdepPath])
|
/third_party/node/deps/npm/node_modules/cross-spawn/ |
D | index.js | 7 function spawn(command, args, options) { function 12 const spawned = cp.spawn(parsed.command, parsed.args, parsed.options); 34 module.exports = spawn; 35 module.exports.spawn = spawn;
|
/third_party/python/Lib/distutils/tests/ |
D | test_spawn.py | 9 from distutils.spawn import find_executable 10 from distutils.spawn import spawn 33 self.assertRaises(DistutilsExecError, spawn, [exe]) 44 spawn([exe]) # should work without any error 129 spawn(['does-not-exist'])
|
/third_party/node/deps/npm/node_modules/@npmcli/git/lib/ |
D | clone.js | 26 const spawn = require('./spawn.js') constant 94 const git = (args) => spawn(args, { ...opts, cwd: target }) 123 return spawn(args, opts).then(() => revDoc.sha) 140 return spawn(args, opts).then(() => revDoc.sha) 150 return spawn([ 164 const git = (args) => spawn(args, { ...opts, cwd: target })
|
/third_party/libuv/test/ |
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() argument 150 spawn(); in BENCHMARK_IMPL()
|