vendors/execa.js/getEnv
var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
  const env = extendEnv ? __spreadValues(__spreadValues({}, import_node_process2.default.env), envOption) : envOption;
  if (preferLocal) {
    return npmRunPathEnv({ env, cwd: localDir, execPath });
  }
  return env;
};