import "../../../../shared/src/dotenv.js";
import { exitAfter } from "../../services/life-cycle.js";
import { parentWorker, singleProcessMode } from "../../types/processes.js";
import { runWorker } from "./run-worker.js";
if (!singleProcessMode()) {
    void exitAfter(() => runWorker(parentWorker, process.env));
}
export default runWorker;
//# sourceMappingURL=main.js.map