We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f5d76 commit 3d2d329Copy full SHA for 3d2d329
packages/core/src/shared/lsp/utils/platform.ts
@@ -95,12 +95,11 @@ export function createServerOptions({
95
warnThresholds?: { cpu?: number; memory?: number }
96
}) {
97
return async () => {
98
- const bin = executable[0]
99
const args = [...executable.slice(1), serverModule, ...execArgv]
100
if (isDebugInstance()) {
101
args.unshift('--inspect=6080')
102
}
103
- const lspProcess = new ChildProcess(bin, args, { warnThresholds })
+ const lspProcess = new ChildProcess(process.execPath, args, { warnThresholds })
104
105
// this is a long running process, awaiting it will never resolve
106
void lspProcess.run()
0 commit comments