Files
rea/tests/support/cli/cliCommandSession.ts
T

526 lines
16 KiB
TypeScript

import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
import { fileURLToPath } from "node:url";
import { z } from "zod";
import { waitForExit } from "../process/processFixture.js";
import {
createCliSessionFrameReader,
encodeCliSessionFrame,
} from "./cliCommandSessionFrames.mjs";
const workerPath = fileURLToPath(
new URL("./cliCommandSessionWorker.mjs", import.meta.url),
);