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:
1 parent
f5b5f9dd7b
commit
c08093c2b1
8 files changed
+89
-75
No files matched your search
@@ -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, {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user