mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 08:12:43 +00:00
windows: unify non-core spawn handling across acp qmd and docker (openclaw#31750) thanks @Takhoffman
Verified: - pnpm install --frozen-lockfile - pnpm build - pnpm check (fails on pre-existing unrelated src/slack/monitor/events/messages.ts typing errors) - pnpm vitest run src/acp/client.test.ts src/memory/qmd-manager.test.ts src/agents/sandbox/docker.execDockerRaw.enoent.test.ts src/agents/sandbox/docker.windows.test.ts extensions/acpx/src/runtime-internals/process.test.ts Co-authored-by: Takhoffman <781889+Takhoffman@users.noreply.github.com>
This commit is contained in:
@@ -899,6 +899,8 @@ describe("QmdMemoryManager", () => {
|
||||
expect(qmdCalls.length).toBeGreaterThan(0);
|
||||
for (const call of qmdCalls) {
|
||||
expect(call[0]).toBe("qmd.cmd");
|
||||
const options = call[2] as { shell?: boolean } | undefined;
|
||||
expect(options?.shell).toBe(true);
|
||||
}
|
||||
|
||||
await manager.close();
|
||||
@@ -1408,6 +1410,8 @@ describe("QmdMemoryManager", () => {
|
||||
);
|
||||
expect(mcporterCall).toBeDefined();
|
||||
expect(mcporterCall?.[0]).toBe("mcporter.cmd");
|
||||
const options = mcporterCall?.[2] as { shell?: boolean } | undefined;
|
||||
expect(options?.shell).toBe(true);
|
||||
|
||||
await manager.close();
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user