import * as child from "node:child_process";
export const runCommand = (command, options) => new Promise((resolve, reject) => {
    child.exec(command, options, (error, stdout) => {
        if (error) {
            reject(error.message);
            return;
        }
        resolve(stdout);
    });
});
