Workspace terminal fails to start with "setup refresh had errors"
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
26.818.31338
What subscription do you have?
Plus
What platform is your computer?
Windows 11 x64
What issue are you seeing?
The workspace terminal cannot start any command.
Whenever I run a terminal command such as pwd, Get-Location, or rg --files, the command fails before execution with the following error:
CreateProcess:
Rejected("Failed to create unified exec process: helper_unknown_error: setup refresh had errors")
The issue occurs with PowerShell, Command Prompt, and the system PowerShell executable. No detailed stack trace, log path, or additional information about the "setup refresh" failure is shown.
Codex App version: 26.818.31338
Workspace runtime dependency version: 26.819.11345
What steps can reproduce the bug?
- Open Codex Desktop on Windows 11.
- Open a local workspace or repository.
- Start a new task or thread.
- Run any terminal command, for example:
pwdGet-Locationrg --files
- Observe that the command fails before it is executed.
Expected behavior:
The terminal process should start and execute the command successfully.
Actual behavior:
The terminal process is rejected during setup with:
Failed to create unified exec process: helper_unknown_error: setup refresh had errors
The issue occurs consistently across PowerShell, Command Prompt, and the system Windows PowerShell executable.
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on Windows 11 in a local workspace using pwd, Get-Location, and rg --files through PowerShell, Command Prompt, and system PowerShell. Start at the workspace terminal's setup refresh path and trace why process creation returns helper_unknown_error; done means all three command environments start and execute normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100