Skip to content

Crashes on selecting "Run in WSL" #6304

Closed

Description

@nextonphotos

What version of Codex is running?

VSCode extension version 0.4.35

What subscription do you have?

Plus

Which model were you using?

gpt-5

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

I installed WSL and selected "Run in WSL" under "Settings"->"IDE Settings" in the Codex panel in VSCode. This results in a crash with the following:

Codex crashed with the following error:

Codex app-server process exited with code 127 and signal null.
Most recent error message:
/usr/bin/env: ‘/mnt/d/Google’: No such file or directory

I assume the issue is related to the fact that the VSCode workspace I'm using is in a subfolder of a "Google Drive" folder, which contains a space. Changing the file structure isn't viable in this case, so is there a workaround to get this working? In any case, such situations shouldn't crash the extension.

What steps can reproduce the bug?

I selected "Run in WSL" under "Settings"->"IDE Settings" in the Codex panel in VSCode.

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bug
    on Nov 6, 2025
  2. added
    extension
    windows-os
    on Nov 6, 2025
  3. github-actions commented on Nov 6, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. hsiktas commented on Nov 11, 2025

    @hsiktas

    I am seeing a similar issue where running it in WSL2 shows that error if the file path contains a space. In the VSCode settings, I had to uncheck the chatgpt.runCodexInWindowsSubsystemForLinux toggle to get the extension unstuck from this state.

  5. dylan-hurd-oai commented on Nov 11, 2025

    @dylan-hurd-oai
    Contributor

    @hsiktas @nextonphotos we've fixed a few bugs here in the latest pre-release 0.5.39. Please let us know if you're still experiencing issues on that version.

  6. hsiktas commented on Nov 11, 2025

    @hsiktas

    Just switched to the pre-release version of the extension, and I can't reproduce the issue anymore. 👍

  7. dylan-hurd-oai commented on Nov 11, 2025

    @dylan-hurd-oai
    Contributor

    Thanks for confirming! This is now shipped to mainline release in 0.4.39.

  8. latentdock commented on Nov 12, 2025

    @latentdock

    Thanks for confirming! This is now shipped to mainline release in 0.4.39.

    no,i get this error:Codex crashed with the following error:

    Codex process errored: Codex process is not available.

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

    bugextensionwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions