import { getProjectPath } from '@erect/core/paths'; import { execSync, ExecSyncOptions } from 'child_process'; export function exec(command: string, options?: ExecSyncOptions): void { execSync(command, { stdio: 'inherit', cwd: getProjectPath(), env: { PATH: process.env.PATH, }, ...options }); }