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.
We are using
spawn
method to execute a CodeChecker command. If the executable path starts with a~
(e.g.:~/CodeChecker/bin/CodeChecker
), thespawn
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.