execution error: Io(Custom { kind: Other, error: "windows sandbox: spawn setup refresh" })

Open 💬 2 comments Opened Apr 24, 2026 by SunnyDesignor
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

0.124.0.0

What subscription do you have?

api

Which model were you using?

gpt-5.4

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

PowerShell 7.6

What issue are you seeing?

I keep getting errors when reading files, even after granting permissions.
execution error: Io(Custom { kind: Other, error: "windows sandbox: spawn setup refresh" })

What steps can reproduce the bug?

Get-ChildItem -Name | Select-Object -First 40

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #19189
  • #18845
  • #18620
  • #18451
  • #18465

Powered by Codex Action

douglasware · 2 months ago

This is 100% a CLI issue and not a problem in the Codex extension in VS Code. @etraut-openai