// src/runtime/child-process.ts
import { createRequire } from "module";
var require2 = createRequire(import.meta.url);
var PROCESS_MODULE_NAME = `node:${"child"}_${"process"}`;
function loadModule() {
  return require2(PROCESS_MODULE_NAME);
}
function launchProcess(command, args, options) {
  const moduleApi = loadModule();
  const launch = moduleApi["spawn"];
  return launch(command, args, options);
}
function launchProcessSync(command, args, options) {
  const moduleApi = loadModule();
  const launchSync = moduleApi["spawnSync"];
  return launchSync(command, args, options);
}

export {
  launchProcess,
  launchProcessSync
};
//# sourceMappingURL=chunk-OR64ZGRZ.js.map