You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows app: shell and Node REPL tools fail with a WSL workspace path #49897
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
What version of the Codex App are you using (From “About Codex” dialog)?
26.905.11957
What subscription do you have?
Business
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
Codex cannot perform a simple document edit in a workspace configured with a Linux/WSL path.
The exec_command tool fails before executing commands, including a simple pwd, with:
CreateProcess { message: "Rejected("Failed to create unified exec process: No such file or directory (os error 2)")" }
Explicitly selecting /bin/bash with login disabled also fails.
The Node REPL tool fails before reading a file with:
Mcp error: -32602: js: codex/sandbox-state-meta: sandboxCwd is not a local file URI: file:///path/to/file
Retrying in the same or other chats produces the same errors. No document edits occurred.
What steps can reproduce the bug?
Open the Windows Codex desktop app.
Use a workspace at /home//code/.
Ask: “Can you make and revert a change in a document?”
Codex attempts to run shell commands and read repository files.
Both exec_command and Node REPL fail with the errors above.
Ask “Try now”; the failures repeat.
What is the expected behavior?
Codex should execute commands and read/write files in the configured workspace, make the temporary document edit, then restore and verify the original contents.
Additional information
The workspace uses a Linux/WSL path while the desktop app runs on Windows. A Windows/WSL path-handling mismatch may be involved, but the cause is unconfirmed.
Separately, an attached screenshot could not be opened using its C:/Users/... path. It was successfully opened using the equivalent /mnt/c/Users/... path.
appIssues related to the Codex desktop appbugSomething isn't workingsandboxIssues related to permissions or sandboxingtool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Oct 1, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Artisean commentedon Oct 7, 2026
I am reproducing this on a newer Codex Desktop build.
Environment:
Desktop execution consistently fails before commands start:
exec_command failed: CreateProcess {
message: "Rejected("Failed to create unified exec process:
No such file or directory (os error 2)")"
}
The Node/file route also fails before reading files:
Mcp error: -32602: js: codex/sandbox-state-meta:
sandboxCwd is not a local file URI:
file:///mnt/c/Users//Documents/Codex/
I have reproduced this in:
Direct WSL itself works normally. For example, launching /bin/sh through
wsl.exe succeeds, and ordinary WSL can read the real repository files.
The affected Codex/Work sessions read 0 repository bytes before failing.
I have NOT:
The same symptom class appears in #49777 and #50078.
Since 26.1002.7124.0 is newer than several earlier reports, I wanted to add a current reproduction showing the issue is still present on my system.