Skip to content

Codex Desktop 26.930 generates malformed mixed Windows/WSL cwd, causing CreateProcess failures and unreadable attachments #50223

Open

Description

@torba-lab

What version of the Codex App are you using (From “About Codex” dialog)?

26.930.21537

What subscription do you have?

Plus

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Codex Desktop 26.930.2377.0 still generates an invalid mixed Windows/WSL working-directory path for a project located inside WSL.

The issue reproduces in both existing conversations and newly created chats inside the same WSL project.

It also appears to affect file-attachment ingestion: prompts attached as .txt or .md files cannot be reliably read when the local process launcher fails, while the exact same prompt works when pasted inline into the chat.

Environment

  • Codex Desktop: 26.930.21537
  • Host OS: Windows
  • WSL distribution: Ubuntu-24.04
  • Agent environment: Windows Subsystem for Linux
  • Integrated terminal shell: WSL
  • Workspace: /home/user/torbaretail_audit

Current application path

The currently installed Codex Desktop build runs from:
C:\Program Files\WindowsApps\OpenAI.Codex_26.930.2377.0_x64__2p2nqsd0c76g0\app

However, Codex still generates a command containing the path of an older Codex build (26.915.4065.0) and combines it with a WSL UNC path:
cd '/mnt/c/Program Files/WindowsApps/OpenAI.Codex_26.915.4065.0_x64__2p2nqsd0c76g0/app/resources/\\wsl$\Ubuntu-24.04\home\user\torbaretail_audit'

PowerShell then resolves this into the invalid path:
C:\mnt\c\Program Files\WindowsApps\OpenAI.Codex_26.915.4065.0_x64__2p2nqsd0c76g0\app\resources\wsl$\Ubuntu-24.04\home\user\torbaretail_audit

and fails with: PathNotFound

In other runs, the same underlying execution problem appears as:
CreateProcess: No such file or directory (os error 2)

WSL workspace itself is healthy. The workspace works normally when accessed directly through WSL:
wsl -d Ubuntu-24.04

Then inside WSL:
cd /home/user/torbaretail_audit
pwd

returns:
/home/user/torbaretail_audit

So the WSL distribution and the workspace itself are accessible.

What steps can reproduce the bug?

  1. Open Codex Desktop.
  2. Use a project whose workspace is inside WSL:
    /home/user/<project>
  3. Set the Agent Environment to Windows Subsystem for Linux.
  4. Open either:
  • an existing chat in the project, or
  • a newly created chat in the same project.
  1. Ask Codex to execute a simple local command such as pwd.
  2. Observe that Codex attempts to construct a working directory using a mixture of:
  • a WindowsApps application path,
  • a Linux /mnt/c/... path,
  • and a \wsl$... UNC path.

The command fails before normal WSL execution begins.

What is the expected behavior?

Expected behavior
For a WSL workspace, Codex should execute in the configured WSL environment with a Linux-native cwd such as:
/home/user/torbaretail_audit

It should not prepend a Windows application resource directory or translate the WSL workspace through a mixed Windows/Linux/UNC path.
Updating Codex Desktop should also not leave execution metadata pointing to an older WindowsApps package version.

Actual behavior
About / application build: 26.930.21537

Current Windows package: 26.930.2377.0

Stale package referenced by malformed command: 26.915.4065.0

The currently installed application is: 26.930.2377.0 but the generated execution path still references: 26.915.4065.0 and combines that stale application path with the WSL workspace path. This suggests that stale pre-update execution/cwd metadata may be involved, together with incorrect WSL path canonicalization. I cannot confirm the exact root cause.

Additional information

There appears to be another user-visible consequence correlated with the same process-launch failure.

If I send a new Codex prompt as a file attachment, for example a .txt or .md file, Codex is unable to reliably read the attachment.
Codex reports: Local process launcher repeats transient CreateProcess: No such file or directory, so I will not make assumptions about the attachment contents.

As a result, I have to paste the exact same prompt directly into the chat as inline text. When pasted inline, Codex can read and follow it normally. So the problem appears to affect not only terminal execution but also local file/attachment ingestion in WSL projects when Codex needs the local execution or workspace layer to access the attachment.

I cannot confirm that the attachment failure has exactly the same root cause, but it consistently occurs together with the same CreateProcess /
malformed-workspace-path failure.

The issue is not limited to restoring an old conversation. It also reproduces in a newly created chat inside the same WSL project.

Activity

  1. added
    app
    on Oct 2, 2026
  2. added
    bug
    windows-os
    tool-calls
    on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugtool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions