/third_party/node/test/es-module/ |
D | test-esm-tla-unfinished.mjs | 3 import child_process from 'child_process'; 8 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( [all …]
|
/third_party/node/test/embedding/ |
D | test-embedding.js | 5 const child_process = require('child_process'); constant 17 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/parallel/ |
D | test-child-process-promisified.js | 4 const child_process = require('child_process'); constant 7 const exec = promisify(child_process.exec); 8 const execFile = promisify(child_process.execFile); 13 assert(promise.child instanceof child_process.ChildProcess); 22 assert(promise.child instanceof child_process.ChildProcess); 31 assert(promise.child instanceof child_process.ChildProcess); 40 assert(promise.child instanceof child_process.ChildProcess);
|
D | test-child-process-exec-error.js | 25 const child_process = require('child_process'); constant 38 test(child_process.exec, 1, 'number'); // Exit code of cmd.exe 40 test(child_process.exec, 127, 'number'); // Exit code of /bin/sh 44 test(child_process.execFile, 'ENOENT', 'undefined');
|
D | test-macos-app-sandbox.js | 9 const child_process = require('child_process'); constant 42 child_process.spawnSync('/usr/bin/codesign', [ 52 child_process.spawnSync(appExecutablePath, [ 59 const spawnResult = child_process.spawnSync(
|
D | test-child-process-fork-exec-argv.js | 25 const child_process = require('child_process'); constant 26 const spawn = child_process.spawn; 27 const fork = child_process.fork;
|
D | test-child-process-advanced-serialization.js | 4 const child_process = require('child_process'); constant 10 child_process.spawn(process.execPath, [], { serialization: value }); 20 const cp = child_process.spawn(process.execPath, [__filename, 'child'],
|
D | test-domain-throw-error-then-throw-from-uncaught-exception-handler.js | 10 const child_process = require('child_process'); constant 52 child_process.exec( 73 child_process.exec(createTestCmdLine({
|
D | test-module-loading-globalpaths.js | 8 const child_process = require('child_process'); constant 36 const child = child_process.execFileSync(testExecPath, 54 child_process.execFileSync(testExecPath, [ __filename, 'child' ], 100 const child = child_process.execFileSync(testExecPath,
|
/third_party/node/deps/npm/node_modules/execa/ |
D | readme.md | 3 > A better [`child_process`](https://nodejs.org/api/child_process.html) 67 Think of this as a mix of `child_process.execFile` and `child_process.spawn`. 69 Returns a [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_… 83 Returns a [`child_process` instance](https://nodejs.org/api/child_process.html#child_process_class_… 85 The `child_process` instance is enhanced to also be promise for a result object with `stdout` and `… 91 Returns the same result object as [`child_process.spawnSync`](https://nodejs.org/api/child_process.… 99 Returns the same result object as [`child_process.spawnSync`](https://nodejs.org/api/child_process.… 137 Child's [stdio](https://nodejs.org/api/child_process.html#child_process_options_stdio) configuratio… 143 …s. Specific behavior [depends on the platform](https://nodejs.org/api/child_process.html#child_pro… 240 Same options as [`stdio`](https://nodejs.org/dist/latest-v6.x/docs/api/child_process.html#child_pro… [all …]
|
/third_party/rust/crates/linux-raw-sys/.github/actions/install-rust/ |
D | main.js | 1 const child_process = require('child_process'); constant 12 child_process.execFileSync('rustup', ['self', 'update']); 15 child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); 16 child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); 17 child_process.execFileSync('rustup', ['default', toolchain]);
|
/third_party/rust/crates/rustix/.github/actions/install-rust/ |
D | main.js | 1 const child_process = require('child_process'); constant 12 child_process.execFileSync('rustup', ['self', 'update']); 15 child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); 16 child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); 17 child_process.execFileSync('rustup', ['default', toolchain]);
|
/third_party/rust/crates/io-lifetimes/.github/actions/install-rust/ |
D | main.js | 1 const child_process = require('child_process'); constant 12 child_process.execFileSync('rustup', ['self', 'update']); 15 child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); 16 child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); 17 child_process.execFileSync('rustup', ['default', toolchain]);
|
/third_party/rust/crates/is-terminal/.github/actions/install-rust/ |
D | main.js | 1 const child_process = require('child_process'); constant 12 child_process.execFileSync('rustup', ['self', 'update']); 15 child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); 16 child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); 17 child_process.execFileSync('rustup', ['default', toolchain]);
|
/third_party/node/doc/api/ |
D | child_process.md | 7 <!-- source_link=lib/child_process.js --> 9 The `child_process` module provides the ability to spawn subprocesses in 11 is primarily provided by the [`child_process.spawn()`][] function: 14 const { spawn } = require('child_process'); 49 The [`child_process.spawn()`][] method spawns the child process asynchronously, 50 without blocking the Node.js event loop. The [`child_process.spawnSync()`][] 54 For convenience, the `child_process` module provides a handful of synchronous 55 and asynchronous alternatives to [`child_process.spawn()`][] and 56 [`child_process.spawnSync()`][]. Each of these alternatives are implemented on 57 top of [`child_process.spawn()`][] or [`child_process.spawnSync()`][]. [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
D | msgstress02.c | 234 static int dotest(key_t key, int child_process) in dotest() argument 242 child_process, strerror(errno)); in dotest() 254 child_process); in dotest() 262 child_process, nreps)); in dotest() 268 child_process); in dotest() 281 child_process, nreps)); in dotest() 291 status >> 8, child_process); in dotest() 312 child_process, count, (nkids * 2)); in dotest() 320 child_process, strerror(errno)); in dotest()
|
D | msgstress04.c | 261 static int dotest(key_t key, int child_process) in dotest() argument 269 child_process, strerror(errno)); in dotest() 280 child_process); in dotest() 288 child_process, nreps)); in dotest() 293 child_process); in dotest() 306 child_process, nreps)); in dotest() 316 status >> 8, child_process); in dotest() 337 child_process, count, (nkids * 2)); in dotest() 345 child_process, strerror(errno)); in dotest()
|
D | msgstress01.c | 64 static int dotest(key_t key, int child_process); 202 static int dotest(key_t key, int child_process) in dotest() argument 211 child_process, strerror(TEST_ERRNO)); in dotest() 230 exit(doreader(key, id, 1, child_process, nreps)); in dotest() 234 ret = dowriter(key, id, 1, child_process, nreps); in dotest()
|
D | msgstress03.c | 61 static int dotest(key_t key, int child_process); 207 static int dotest(key_t key, int child_process) in dotest() argument 216 child_process, strerror(TEST_ERRNO)); in dotest() 233 exit(doreader(key, id, 1, child_process, nreps)); in dotest() 237 ret = dowriter(key, id, 1, child_process, nreps); in dotest()
|
/third_party/node/benchmark/ |
D | _http-benchmarkers.js | 3 const child_process = require('child_process'); constant 18 const result = child_process.spawnSync(this.executable, ['-h']); 34 const child = child_process.spawn(this.executable, args); 56 const result = child_process.spawnSync(this.executable, ['-h']); 74 const child = child_process.spawn(this.executable, args); 112 const child = child_process.fork(this.executable, 136 const result = child_process.spawnSync(this.executable, ['-h']); 171 const child = child_process.spawn(this.executable, args);
|
/third_party/node/test/sequential/ |
D | test-child-process-emfile.js | 28 const child_process = require('child_process'); constant 31 const ulimit = Number(child_process.execSync('ulimit -Hn')); 36 const result = child_process.spawnSync( 59 const proc = child_process.spawn(process.execPath, ['-e', '0']);
|
/third_party/node/test/pseudo-tty/ |
D | test-set-raw-mode-reset.js | 3 const child_process = require('child_process'); constant 8 child_process.spawnSync(process.execPath, [ 12 const { stdout } = child_process.spawnSync('stty', {
|
D | test-set-raw-mode-reset-process-exit.js | 3 const child_process = require('child_process'); constant 7 child_process.spawnSync(process.execPath, [ 11 const { stdout } = child_process.spawnSync('stty', {
|
D | test-set-raw-mode-reset-signal.js | 3 const child_process = require('child_process'); constant 7 const proc = child_process.spawn(process.execPath, [ 16 const { stdout } = child_process.spawnSync('stty', {
|
/third_party/node/benchmark/child_process/ |
D | child-process-read.js | 8 const child_process = require('child_process'); constant 25 const child = child_process.spawn('yes', [msg], options); 35 child_process.execSync(`taskkill /f /t /pid ${child.pid}`);
|