vendors/execa.js/execaNode
function execaNode(scriptPath, args, options = {}) {
  if (args && !Array.isArray(args) && typeof args === "object") {
    options = args;
    args = [];
  }
  const stdio = normalizeStdioNode(options);
  const defaultExecArgv = import_node_process2.default.execArgv.filter((arg) => !arg.startsWith("--inspect"));
  const {
    nodePath = import_node_process2.default.execPath,
    nodeOptions = defaultExecArgv
  } = options;
  return execa(nodePath, [
    ...nodeOptions,
    scriptPath,
    ...Array.isArray(args) ? args : []
  ], __spreadProps(__spreadValues({}, options), {
    stdin: void 0,
    stdout: void 0,
    stderr: void 0,
    stdio,
    shell: false
  }));
}