#!/usr/bin/env node
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const childProcess = require("child_process");
const pact_standalone_1 = require("../src/pact-standalone");
const args = process.argv.slice(2);
const opts = pact_standalone_1.standaloneUseShell ? { shell: true } : {};
const { error, status } = childProcess.spawnSync((0, pact_standalone_1.standalone)().pactFullPath, (0, pact_standalone_1.setStandaloneArgs)(args, pact_standalone_1.standaloneUseShell), {
    stdio: 'inherit',
    ...opts,
});
if (error)
    throw error;
process.exit(status);
//# sourceMappingURL=pact.js.map