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.
2 parents 6fa1cb2 + 90859e9 commit 7caec7eCopy full SHA for 7caec7e
src/lsptoolshost/roslynLanguageServer.ts
@@ -433,7 +433,7 @@ export class RoslynLanguageServer {
433
if (serverPath.endsWith('.dll')) {
434
// If we were given a path to a dll, launch that via dotnet.
435
const argsWithPath = [ serverPath ].concat(args);
436
- childProcess = cp.spawn('dotnet', argsWithPath, cpOptions);
+ childProcess = cp.spawn(dotnetExecutablePath, argsWithPath, cpOptions);
437
} else {
438
// Otherwise assume we were given a path to an executable.
439
childProcess = cp.spawn(serverPath, args, cpOptions);
0 commit comments