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
@@ -693,8 +693,11 @@ describe("CodexAdapterV2 process spawning", () => {
|
||||
if (!ChildProcess.isStandardCommand(command)) {
|
||||
return;
|
||||
}
|
||||
assert.equal(command.command, '^"C:\\npm\\codex.cmd^"');
|
||||
assert.deepEqual(command.args, ['^"app-server^"', '^"argument^ with^ spaces^"']);
|
||||
assert.equal(
|
||||
command.command,
|
||||
'^"C:\\npm\\codex.cmd^" ^"app-server^" ^"argument^ with^ spaces^"',
|
||||
);
|
||||
assert.deepEqual(command.args, []);
|
||||
assert.equal(command.options.shell, true);
|
||||
assert.equal(command.options.cwd, "C:\\workspace");
|
||||
assert.deepEqual(command.options.env, { CUSTOM: "1" });
|
||||
|
||||
Reference in new issue
Block a user