Skip to content

In OpenCode Desktop on Windows "Open in Powershell" feature fails. #27078

Closed

Description

@PhilWheat

Description

In OpenCode Desktop on Windows using the "Open in Powershell" icon in the upper right corner fails to launch powershell. It gives the following error in the log:
Error occurred in handler for 'open-path': Error: spawn [object Promise] ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn [object Promise]',
path: '[object Promise]',
spawnargs: [ 'C:\Users\\Documents\OpenCode\General' ],
cmd: '[object Promise] C:\Users\\Documents\OpenCode\General'
}

Open in File Explorer works. Open in Visual Studio code gives the same error. I do not have the other options installed to test.

Plugins

None

OpenCode version

1.14.48

Steps to reproduce

Open OpenCode desktop on Windows 11 Pro
Be in or open a workspace
Click on the arrow down next to "Open In"
Choose File Explorer.
Observe it opens correctly.
Click on the arrow down next to "Open In"
Choose Powershell.
Observe it throws an error. The above error is shown in the log.

Screenshot and/or share link

Image

Operating System

Windows 11 Pro

Terminal

Windows Terminal/Powershell 7.

Activity

  1. github-actions commented on May 12, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    These issues all describe the same underlying error when trying to open external applications (PowerShell, VS Code, etc.) from OpenCode Desktop on Windows.

  2. PhilWheat commented on May 12, 2026

    @PhilWheat
    Author

    This does appear to be a duplicate - I'll close and monitor the others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions