fix(shared): Windows .cmd shims no longer print DEP0190 on every spawn (#19385)

Co-authored-by: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Theo BrowneandClaude Opus 5.5 authored and GitHub committed 2026-10-14 04:17:42 -07:00
1 parent f5b5f9dd7b
commit c08093c2b1
8 files changed
+89 -75

No files matched your search

+3 -6
View File
@@ -791,15 +791,12 @@ export function runDevRunnerWithInput(input: DevRunnerCliInput) {
}
}
const spawnCommand = yield* resolveSpawnCommand(
"vp",
[...MODE_ARGS[input.mode], ...input.runArgs],
{ env },
);
const args = [...MODE_ARGS[input.mode], ...input.runArgs];
const spawnCommand = yield* resolveSpawnCommand("vp", args, { env });
const processContext = {
mode: input.mode,
executable: "vp" as const,
argumentCount: spawnCommand.args.length,
argumentCount: args.length,
shell: spawnCommand.shell,
} as const;
const child = yield* ChildProcess.make(spawnCommand.command, spawnCommand.args, {
+1 -1
View File
@@ -127,7 +127,7 @@ export const runCommand = Effect.fn("runCommand")(function* (
const spawnCommand = yield* resolveSpawnCommand(command, args);
const processContext = {
command,
argumentCount: spawnCommand.args.length,
argumentCount: args.length,
cwd,
shell: spawnCommand.shell,
} as const;