MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / execText

Function execText

scripts/studio-host-provider.mjs:667–673  ·  view source on GitHub ↗
(command, args)

Source from the content-addressed store, hash-verified

665}
666
667async function execText(command, args) {
668 const { stdout } = await execFileAsync(command, args, {
669 maxBuffer: 16 * 1024 * 1024,
670 timeout: 120000,
671 });
672 return stdout;
673}
674
675async function writeJsonFile(file, value, mode) {
676 await fs.promises.mkdir(path.dirname(file), { recursive: true, mode: 0o700 });

Callers 3

ensureTemplateSimulatorFunction · 0.85
cloneSimulatorFunction · 0.85
execJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected