UNPKG

alwaysai

Version:

The alwaysAI command-line interface (CLI)

14 lines 434 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const child_process_1 = require("child_process"); function runForegroundSync(cmd) { const out = child_process_1.spawnSync(cmd.exe, cmd.args || [], { cwd: cmd.cwd, stdio: 'inherit', }); if (out.error) { throw out.error; } } exports.runForegroundSync = runForegroundSync; //# sourceMappingURL=run-foreground-sync.js.map