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 desktop: exec_command fails before process creation with helper_unknown_error: setup refresh had errors #49851
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
In a Codex desktop chat on Windows, every attempted local command fails before process creation. This blocks reading workspace instructions, inspecting Git state, making changes, and running tests. Retrying in a subsequent user turn produces the same failure.
Ask the agent to inspect or modify the repository.
Invoke exec_command with Get-Location and login: false.
Retry with an explicit Windows PowerShell executable path.
Retry in a subsequent conversation turn.
Actual result
All of these attempts fail before the command runs:
exec_command failed: CreateProcess { message: "Rejected(\"Failed to create unified exec process: helper_unknown_error: setup refresh had errors\")" }
The same failure occurred for both a minimal read-only command and a repository inspection command. MCP tool calls still execute, so the observed failure is specific to local command execution rather than all tools.
Expected result
Read-only PowerShell commands should execute in the configured workspace, or the application should return actionable diagnostics identifying which setup refresh step failed and how to recover.
Impact
The agent cannot carry out an authorized code-review fix, inspect ownership/worktrees, or run validation.
Additional observation
Separately, GitHub connector PR-read calls for the private target repository returned HTTP 404, while public repository search and the connected-user profile call succeeded. The cause of those 404s is unverified, and there is no evidence that they share a root cause with the local execution failure.
No restart recovery has been tested. No credentials, private source code, or private repository identifiers are included in this report.
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