/third_party/node/test/sequential/ |
D | test-child-process-execsync.js | 29 const { execFileSync, execSync, spawnSync } = require('child_process'); 45 function() { execSync('exit -1', { shell: 'bad_shell' }); }, 58 ret = execSync(cmd, { timeout: TIMER }); 73 execSync('iamabadcommand'); 84 const ret = execSync(cmd); 90 const ret = execSync(cmd, { encoding: 'utf8' }); 113 const response = execSync(cmd, { cwd }); 122 execSync('exit -1', { stdio: 'ignore' });
|
D | test-child-process-emfile.js | 31 const ulimit = Number(child_process.execSync('ulimit -Hn'));
|
/third_party/node/test/parallel/ |
D | test-child-process-execsync-maxbuf.js | 9 const { execSync } = require('child_process'); 21 execSync(`"${process.execPath}" ${args.join(' ')}`, { maxBuffer: 1 }); 35 const ret = execSync( 46 execSync( 59 const ret = execSync(
|
D | test-child-process-reject-null-bytes.js | 11 execSync, 29 throws(() => execSync(`${process.execPath} ${__filename} AAA BBB\0XXX CCC`), { 34 throws(() => execSync('BBB\0XXX AAA CCC'), { 120 throws(() => execSync(process.execPath, { cwd: 'BBB\0XXX' }), { 157 throws(() => execSync(process.execPath, { argv0: 'BBB\0XXX' }), { 194 throws(() => execSync(process.execPath, { shell: 'BBB\0XXX' }), { 244 throws(() => execSync(process.execPath, { env: { 'AAA': 'BBB\0XXX' } }), { 249 throws(() => execSync(process.execPath, { env: { 'BBB\0XXX': 'AAA' } }), {
|
D | test-module-readonly.js | 27 cp.execSync( 31 cp.execSync(`icacls.exe "${readOnlyModFullPath}" /grant "%USERNAME%":RX`); 42 cp.execSync(
|
D | test-fs-mkdir-recursive-eaccess.js | 19 const { execSync } = require('child_process'); 29 execSync(`icacls ${dir} /deny "everyone:(OI)(CI)(DE,DC,AD,WD)"`); 38 execSync(`icacls ${dir} /remove:d "everyone"`);
|
D | test-stdin-from-file-spawn.js | 14 const { execSync } = require('child_process'); 42 execSync(`${process.argv[0]} ${tmpJsFile} < ${tmpCmdFile}`);
|
D | test-module-loading-error.js | 25 const { execSync } = require('child_process'); 52 localeOk = execSync(powerShellFindMUI).toString('utf8').trim() === 'en';
|
D | test-repl-programmatic-history.js | 139 const execSync = require('child_process').execSync; constant 140 execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, (err) => {
|
D | test-repl-persistent-history.js | 143 const execSync = require('child_process').execSync; constant 144 execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, (err) => {
|
D | test-child-process-prototype-tampering.mjs | 20 strictEqual(`${cp.execSync('pwd')}`, `${expectedCWD}${EOL}`); 39 strictEqual(`${cp.execSync('id -u')}`, `${expectedUID}${EOL}`);
|
D | test-fs-rm.js | 9 const { execSync } = require('child_process'); 20 try { execSync('git --version'); return true; } catch { return false; } 25 execSync('git init', common.mustNotMutateObjectDeep({ cwd: gitDirectory })); 488 execSync(`icacls ${dir} /deny "everyone:(OI)(CI)(DE,DC)"`); 498 execSync(`icacls ${dir} /remove:d "everyone"`);
|
D | test-cluster-fork-windowsHide.js | 60 output = child_process.execSync(
|
/third_party/node/tools/ |
D | update-timezone.mjs | 3 import { execSync } from 'node:child_process'; 19 execSync('bzip2 -d deps/icu-small/source/data/in/icudt*.dat.bz2'); 22 execSync(`icupkg -a ${file} icudt*.dat`, { cwd: 'deps/icu-small/source/data/in/' }); 25 execSync('bzip2 -z deps/icu-small/source/data/in/icudt*.dat');
|
D | lint-sh.mjs | 3 import { execSync, spawn } from 'node:child_process'; 91 execSync('command -v ' + (USE_NPX ? 'npx' : SHELLCHECK_EXE_NAME)) 113 process.env.GIT || execSync('command -v git').toString().trim();
|
/third_party/weex-loader/deps/weex-scripter/lib/ |
D | require-bundle.js | 2 var execSync = require('child_process').execSync variable 23 var bundleCode = execSync(cmd)
|
/third_party/node/tools/doc/ |
D | apilinks.mjs | 26 function execSync(command) { function 28 return child_process.execSync( 38 const localBranch = execSync('git name-rev --name-only HEAD'); 39 const trackingRemote = execSync(`git config branch.${localBranch}.remote`); 40 const remoteUrl = execSync(`git config remote.${trackingRemote}.url`); 44 const hash = execSync('git log -1 --pretty=%H') || 'main'; 45 const tag = execSync(`git describe --contains ${hash}`).split('\n')[0] || hash;
|
/third_party/node/test/pseudo-tty/ |
D | test-repl-external-module.js | 5 const { execSync } = require('child_process'); 7 execSync(process.execPath, {
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/ |
D | test_db.js | 12 const { execSync } = require("child_process"); 18 execSync(
|
D | test_regressions.js | 12 const { execSync } = require("child_process"); 38 execSync("node " + jsFile, {stdio: ['pipe']});
|
/third_party/node/benchmark/child_process/ |
D | child-process-exec-stdout.js | 3 const { exec, execSync } = require('child_process'); 32 execSync(`taskkill /f /t /pid ${child.pid}`);
|
D | child-process-read.js | 35 child_process.execSync(`taskkill /f /t /pid ${child.pid}`);
|
/third_party/typescript/scripts/ |
D | find-unused-diganostic-messages.mjs | 6 import { execSync } from "child_process"; 18 execSync(`grep -rnw 'src' -e 'Diagnostics.${diagName}'`).toString();
|
/third_party/node/test/pummel/ |
D | test-fs-readfile-tostring-fail.js | 13 if (common.isAIX && (Number(cp.execSync('ulimit -f')) * 512) < kStringMaxLength)
|
/third_party/node/test/common/ |
D | index.js | 27 const { exec, execSync, spawn, spawnSync } = require('child_process'); 505 const output = execSync(`${whoamiPath} /priv`, { timeout: 1000 }); 969 execSync('sysctl -n security.jail.jailed').toString() === '1\n') {
|