Home
last modified time | relevance | path

Searched refs:execSync (Results 1 – 25 of 39) sorted by relevance

12

/third_party/node/test/sequential/
Dtest-child-process-execsync.js29 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' });
Dtest-child-process-emfile.js31 const ulimit = Number(child_process.execSync('ulimit -Hn'));
/third_party/node/test/parallel/
Dtest-child-process-execsync-maxbuf.js9 const { execSync } = require('child_process');
21 execSync(`"${process.execPath}" ${args.join(' ')}`, { maxBuffer: 1 });
35 const ret = execSync(
46 execSync(
59 const ret = execSync(
Dtest-child-process-reject-null-bytes.js11 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' } }), {
Dtest-module-readonly.js27 cp.execSync(
31 cp.execSync(`icacls.exe "${readOnlyModFullPath}" /grant "%USERNAME%":RX`);
42 cp.execSync(
Dtest-fs-mkdir-recursive-eaccess.js19 const { execSync } = require('child_process');
29 execSync(`icacls ${dir} /deny "everyone:(OI)(CI)(DE,DC,AD,WD)"`);
38 execSync(`icacls ${dir} /remove:d "everyone"`);
Dtest-stdin-from-file-spawn.js14 const { execSync } = require('child_process');
42 execSync(`${process.argv[0]} ${tmpJsFile} < ${tmpCmdFile}`);
Dtest-module-loading-error.js25 const { execSync } = require('child_process');
52 localeOk = execSync(powerShellFindMUI).toString('utf8').trim() === 'en';
Dtest-repl-programmatic-history.js139 const execSync = require('child_process').execSync; constant
140 execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, (err) => {
Dtest-repl-persistent-history.js143 const execSync = require('child_process').execSync; constant
144 execSync(`ATTRIB +H "${emptyHiddenHistoryPath}"`, (err) => {
Dtest-child-process-prototype-tampering.mjs20 strictEqual(`${cp.execSync('pwd')}`, `${expectedCWD}${EOL}`);
39 strictEqual(`${cp.execSync('id -u')}`, `${expectedUID}${EOL}`);
Dtest-fs-rm.js9 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"`);
Dtest-cluster-fork-windowsHide.js60 output = child_process.execSync(
/third_party/node/tools/
Dupdate-timezone.mjs3 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');
Dlint-sh.mjs3 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/
Drequire-bundle.js2 var execSync = require('child_process').execSync variable
23 var bundleCode = execSync(cmd)
/third_party/node/tools/doc/
Dapilinks.mjs26 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/
Dtest-repl-external-module.js5 const { execSync } = require('child_process');
7 execSync(process.execPath, {
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_db.js12 const { execSync } = require("child_process");
18 execSync(
Dtest_regressions.js12 const { execSync } = require("child_process");
38 execSync("node " + jsFile, {stdio: ['pipe']});
/third_party/node/benchmark/child_process/
Dchild-process-exec-stdout.js3 const { exec, execSync } = require('child_process');
32 execSync(`taskkill /f /t /pid ${child.pid}`);
Dchild-process-read.js35 child_process.execSync(`taskkill /f /t /pid ${child.pid}`);
/third_party/typescript/scripts/
Dfind-unused-diganostic-messages.mjs6 import { execSync } from "child_process";
18 execSync(`grep -rnw 'src' -e 'Diagnostics.${diagName}'`).toString();
/third_party/node/test/pummel/
Dtest-fs-readfile-tostring-fail.js13 if (common.isAIX && (Number(cp.execSync('ulimit -f')) * 512) < kStringMaxLength)
/third_party/node/test/common/
Dindex.js27 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') {

12