const { execSync } = require('node:child_process');
const log = require("./log");
const exec = (cmd, options = {}) => {
try {
return execSync(cmd, { shell: true, stdio: "inherit", ...options })
} catch (err) {
log.error(err.message);
}
};
module.exports = exec;