bwrap: Unknown option --argv0
What version of Codex CLI is running?
codex-cli 0.116.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.4
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64; Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
Windows Terminal (WSL / PowerShell)
What issue are you seeing?
Any exec_command
returns “bwrap: Unknown option --argv0” directly at the sandbox level, so
I can't read your local files for now.
I'll first try reading the directory via a side channel using js_repl; if that works, I'll proceed by directly
modifying the code.
• Ran js_repl
└ js_repl kernel exited unexpectedly
… +2 lines
_pid“:21765,‘kernel_status’:”exited(code=1)“,”kern
el_stderr_tail“:”bwrap: Unknown option --argv0"}
────────────────────────────────── ────────────────────
• Yes, I currently cannot read your code directly in this session.
The reason is that the execution environment itself has crashed: all commands first report "bwrap:
Unknown option --argv0", and even js_repl fails as well.
What steps can reproduce the bug?
After updating to version 0.116.0, an error occurs every time Codex needs to launch the sandbox to read or query related files: bwrap: Unknown option --argv0
What is the expected behavior?
_No response_
Additional information
npm install -g @openai/codex@0.115.0
Downgrade to 0.115.0 to restore normal operation
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗