core: fix LSP server binary installation and shell command execution

- Ensure proper file permissions are set for installed LSP binaries on non-Windows platforms
- Add error handling for shell command execution in prompt system to prevent crashes
This commit is contained in:
Dax Raad
2025-12-21 18:33:34 -05:00
parent 3456f4ed80
commit c333ffa38b
2 changed files with 8 additions and 8 deletions

View File

@@ -1309,7 +1309,7 @@ export namespace SessionPrompt {
const results = await Promise.all(
shell.map(async ([, cmd]) => {
try {
return await $`${{ raw: cmd }}`.nothrow().text()
return await $`${{ raw: cmd }}`.quiet().nothrow().text()
} catch (error) {
return `Error executing command: ${error instanceof Error ? error.message : String(error)}`
}