"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const child_process_1 = require("child_process");
const executeCommand = (command, env = process.env) => {
    const proc = (0, child_process_1.spawn)(command, [], {
        env,
        shell: true,
        stdio: [0, 1, 2],
    });
    proc.on('close', (code) => {
        process.exit(code);
    });
};
exports.default = executeCommand;
//# sourceMappingURL=executeCommand.js.map