Skip to content

[Bug]: Claude Code and Codex cannot be launched via Windows Terminal #13442

@Georgecw

Description

@Georgecw

Note

This issue was translated by Claude.

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

v1.7.25

Bug Description

Error occurs when launching Claude Code and Codex via Windows Terminal:

Image

The files reported as "not found" in the terminal actually exist. Checking "Check for updates and install the latest version" did not resolve the issue.
Launching via Command Prompt works without issues.

Steps To Reproduce

Launch OpenAI Codex or Claude Code via Windows Terminal from the "Code" app in Cherry Studio

Expected Behavior

Successfully launch OpenAI Codex and Claude Code via Windows Terminal

Relevant Log Output

Additional Context

No response


Original Content

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

v1.7.25

Bug Description

Claude Code 和 Codex 通过 Windows Terminal 启动时报错:

Image

终端中提示"找不到"的文件是存在的。勾选"检查更新并安装最新版本"也没有改善。
通过 Command Prompt 启动没有问题。

Steps To Reproduce

在 Cherry Studio 的 "Code" 应用中通过 Windows Terminal 启动 OpenAI Codex 或 Claude Code

Expected Behavior

在 Windows Terminal 中成功启动 OpenAI Codex 和 Claude Code

Relevant Log Output

Additional Context

No response

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions