MCPcopy
hub / github.com/electerm/electerm / execFileSyncIgnore

Function execFileSyncIgnore

npm/install.js:376–382  ·  view source on GitHub ↗

* Execute a file synchronously, ignoring errors

(cmd, args)

Source from the content-addressed store, hash-verified

374 * Execute a file synchronously, ignoring errors
375 */
376function execFileSyncIgnore (cmd, args) {
377 try {
378 execSync(cmd, args, { stdio: 'ignore' })
379 } catch (e) {
380 // Ignore
381 }
382}
383
384async function runMac (archName) {
385 const pattern = new RegExp(`mac-${archName}\\.dmg$`)

Callers 1

installFromDmgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected