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 0c2d40d commit 4f64ca7Copy full SHA for 4f64ca7
src/clangd-context.ts
@@ -67,7 +67,9 @@ export class ClangdContext implements vscode.Disposable {
67
return;
68
69
const clangd: vscodelc.Executable = {
70
- command: clangdPath,
+ // Quote the path. With `shell: true`, this is needed
71
+ // in case the path contains spaces.
72
+ command: `"${clangdPath}"`,
73
args: await config.get<string[]>('arguments'),
74
options: {cwd: vscode.workspace.rootPath || process.cwd(), shell: true}
75
};
0 commit comments