Symptom
On Windows with "Run agent in WSL" on, every isolated command fails before it starts, even pwd. Commands you approve one by one still work. The .codex/tmp/arg0 folder often holds only Windows .bat helpers and no codex-linux-sandbox.
Evidence what you'll see
- Error:
Failed to create unified exec process: No such file or directory (os error 2) - Users still reproduced it on Desktop 26.1007.71326 after the issue was closed
Why it happens
Community diagnosis, not a staff post: the Linux app-server and a Windows exec-server share one CODEX_HOME on the Windows drive. Each clears helper folders it can lock, and Linux and Windows locks cannot see each other, so one side deletes the other's live helper.
Affected versions
Windows 11 Pro 10.0.26200, WSL2 Ubuntu, kernel 6.18.40.1-microsoft-standard-WSL2, with runCodexInWindowsSubsystemForLinux set to true and systemd=true. The report's app is 26.928.21956 and the package is OpenAI.Codex_26.928.2636.0_x64. A comment names Desktop 26.928.40906 on Windows 11 with WSL2 Ubuntu 22.04.5. A 10 Oct 2026 comment names Desktop 26.1007.2314 and WSL CLI 0.162.0-alpha.17.2. Another names Desktop 26.1007.71326 on 13 Oct 2026. The linked issue does not name a Node version.
Fix steps
0 of 5 done
Your check marks stay in this browser only.
How to check it worked
findmnt /mnt/c/Users/<WindowsUser>/.codex/tmp/arg0shows your Linux filesystem as the source.- A
codex-arg0*folder with acodex-linux-sandboxlink appears there after the app starts. pwdruns in a session without escalation.
If it still fails
- The 13 Oct 2026 report still fails on Desktop
26.1007.71326withFailed to create unified exec process: No such file or directory (os error 2). The linked issue does not name a release that stops that. The comment's workaround is a bind-mount over.codex/tmp/arg0.
Sources and credit
Summarized in our own words from these public reports. Credit goes to their authors.
Provided as is, without warranty. Try changes in a non-production environment and back up first. Security-related steps: verify against the official docs. Terms · Request removal or attribution change
Hit an error we don't cover? Submit it