From 5151e3a5ee06fa8d688bf6861c4553ef94d0034d Mon Sep 17 00:00:00 2001 From: Neil <4138956+nwparker@users.noreply.github.com> Date: Mon, 31 Aug 2026 03:11:45 -0700 Subject: [PATCH] test(windows): invoke quoted retention fixture via PowerShell --- tests/e2e/helpers/host-created-terminal-retention-oracle.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/e2e/helpers/host-created-terminal-retention-oracle.ts b/tests/e2e/helpers/host-created-terminal-retention-oracle.ts index b7820f668c9..b3c4d8c2d21 100644 --- a/tests/e2e/helpers/host-created-terminal-retention-oracle.ts +++ b/tests/e2e/helpers/host-created-terminal-retention-oracle.ts @@ -97,7 +97,8 @@ function shellQuote(value: string): string { export function retentionFixtureCommand(fixturePath: string, sinkPath: string): string { const command = [process.execPath, fixturePath, sinkPath] return process.platform === 'win32' - ? command.map((value) => `"${value.replaceAll('"', '""')}"`).join(' ') + ? // PowerShell needs the call operator when the executable is quoted; cmd.exe also accepts it. + `& ${command.map((value) => `"${value.replaceAll('"', '""')}"`).join(' ')}` : command.map(shellQuote).join(' ') }