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 5d8c324 commit 51476fdCopy full SHA for 51476fd
src/EIDEProjectExplorer.ts
@@ -5788,8 +5788,9 @@ export class ProjectExplorer implements CustomConfigurationProvider {
5788
GlobalEvent.emit('msg', ExceptionToMessage(err));
5789
});
5790
5791
- this.cppcheck_out.append(`>>> Exec cppcheck\n -> ${exeFile.name} ${cmds.join(' ')}\n\n`);
5792
- process.Run(exeFile.name, cmds, opts);
+ const _args: string[] = cmds.map(s => (s.includes(' ') && !s.trimStart().startsWith('"')) ? `"${s}"` : s);
+ this.cppcheck_out.append(`>>> Exec cppcheck\n -> ${exeFile.name} ${_args.join(' ')}\n\n`);
5793
+ process.Run(exeFile.name, _args, opts);
5794
5795
5796
}
0 commit comments