mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
On Windows, `npm` by itself does not resolve under std::process::Command which does not consider PATHEXT to resolve it to `npm.cmd` in the PATH. By running the npm upgrade command via cmd.exe we get proper path semantics so it actually works.