Skip to content

Commit

Permalink
fix(vscode): error connecting to lsp in windows (#7239)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyrpex authored Jan 7, 2025
1 parent bb7f1ba commit 9828ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/vscode-wing/src/lsp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export class LanguageServerManager {
env: {
...process.env,
},
// Node will throw `EINVAL` in Windows if `shell` is not true. See https://github.com/winglang/wing/issues/7231.
shell: true,
},
};
const serverOptions: ServerOptions = {
Expand Down

0 comments on commit 9828ae6

Please sign in to comment.