Describe the bug
On OpenCode Desktop for Windows, the Open in menu only works for File Explorer. Selecting any other configured app fails with this toast:
Request failed
Error invoking remote method 'open-path': Error: spawn [object Promise] ENOENT
This happens for VS Code, Cursor, Zed, PowerShell, and Sublime Text. File Explorer opens correctly.
This appears to be Windows-specific. The same workflow works on my Mac, and it also worked on this Windows machine sometime last week.
Reproduction steps
- Open OpenCode Desktop on Windows.
- Open the Open in dropdown.
- Select VS Code, Cursor, Zed, PowerShell, or Sublime Text.
- Observe the failure toast.
- Select File Explorer from the same menu.
- File Explorer opens successfully.
Expected behavior
OpenCode Desktop should launch the selected external app with the current path, the same way File Explorer works.
Actual behavior
All non-Explorer targets fail with:
Error invoking remote method 'open-path': Error: spawn [object Promise] ENOENT
Environment
- OpenCode Desktop: v1.14.48
- Install source: https://opencode.ai/download, Windows x64 installer; also shown by winget as
SST.OpenCodeDesktop v1.14.48
- OS: Microsoft Windows 11 Pro
- Windows version: 10.0.26200, build 26200
- Architecture: 64-bit
- PowerShell: 7.6.1
- Commands available on PATH from this machine:
code.cmd: C:\Users\ebrar\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd
cursor.cmd: C:\Users\ebrar\AppData\Local\Programs\cursor\resources\app\bin\cursor.cmd
pwsh.exe: C:\Program Files\PowerShell\7\pwsh.exe
powershell.exe: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Describe the bug
On OpenCode Desktop for Windows, the Open in menu only works for File Explorer. Selecting any other configured app fails with this toast:
This happens for VS Code, Cursor, Zed, PowerShell, and Sublime Text. File Explorer opens correctly.
This appears to be Windows-specific. The same workflow works on my Mac, and it also worked on this Windows machine sometime last week.
Reproduction steps
Expected behavior
OpenCode Desktop should launch the selected external app with the current path, the same way File Explorer works.
Actual behavior
All non-Explorer targets fail with:
Environment
SST.OpenCodeDesktopv1.14.48code.cmd:C:\Users\ebrar\AppData\Local\Programs\Microsoft VS Code\bin\code.cmdcursor.cmd:C:\Users\ebrar\AppData\Local\Programs\cursor\resources\app\bin\cursor.cmdpwsh.exe:C:\Program Files\PowerShell\7\pwsh.exepowershell.exe:C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe