xaverh/vscode-clang-format

`EINVAL` is thrown when attempting to format on recent NodeJS versions on Windows

sxxov opened this issue · 0 comments

This seems to be caused by NodeJS fixing CVE-2024-27980 detailed in this blog post by the NodeJS maintainers. cp.spawn is now required to pass { shell: true } if we want to call a .cmd file on Windows.