UNPKG

skeet

Version:

Full-stack TypeScript Serverless Framework

12 lines (10 loc) 213 B
import { spawnSync } from 'child_process' export const execSyncCmd = async ( command: Array<string>, cwd: string = '.' ) => { spawnSync(command[0], command.slice(1), { cwd, stdio: 'inherit', }) }