Crashes on selecting "Run in WSL"

Resolved 💬 6 comments Opened Nov 6, 2025 by nextonphotos Closed Nov 11, 2025

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_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗