| 12345678910 |
- import { createLocalBashOperations } from "../../src/core/tools/bash.ts";
- const markerFile = process.argv[2];
- if (!markerFile) throw new Error("marker file argument is required");
- const operations = createLocalBashOperations({ parentDeathGuard: true });
- await operations.exec('echo $$ > "$MINIMAX_PARENT_DEATH_MARKER"; while true; do sleep 0.1; done', process.cwd(), {
- env: { ...process.env, MINIMAX_PARENT_DEATH_MARKER: markerFile },
- onData: () => undefined,
- });
|