Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

Expand user in the CodeChecker binary path #98

Closed csordasmarton closed 2 years ago

csordasmarton commented 2 years ago

We are using spawn method to execute a CodeChecker command. If the executable path starts with a ~ (e.g.: ~/CodeChecker/bin/CodeChecker), the spawn method doesn't work properly and will give an exception.

For more information see: nodejs/node#684

To solve this problem we will expand the ~ in the file path before executing the command.