codex icon indicating copy to clipboard operation
codex copied to clipboard

Codex CLI can not edit file while VS Code is open (WSL)

Open supadfr opened this issue 1 year ago • 2 comments

What version of Codex is running?

0.1.2505172129

Which model were you using?

gpt-4.1-mini

What platform is your computer?

Ubuntu thrue WSL2 (Microsoft Windows NT 10.0.26100.0 x64)

What steps can reproduce the bug?

  • Open VS Code
  • Open the directory thrue WSL in VS Code
  • Start codex
  • Ask for a modification on a file

What is the expected behavior?

The file should be updated

What do you see instead?

Codex can't update the file, the error is "command rejected by auto-approval system"

Additional information

No response

supadfr avatar May 20 '25 09:05 supadfr

+1

songsong0527 avatar May 22 '25 06:05 songsong0527

Thanks for the feedback! Please try the latest version of Codex CLI, as we're primarily focusing on the native/Rust implementation. If the issue persists, let us know.

codex-maintainers avatar Aug 07 '25 17:08 codex-maintainers