UNPKG

@vis.gl/dev-tools

Version:

Dev tools for vis.gl frameworks

12 lines (10 loc) 236 B
import {execSync} from 'child_process'; export function execShellCommand(command, args = []) { try { execSync(`${command} ${args.join(' ')}`, { stdio: 'inherit' }); } catch (err) { process.exit(err.status); } }