disroop / vs-code-conan

Conan integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=disroop.conan
MIT License
18 stars 10 forks source link

Whitespace in "conanFile" causes "conan build: error: unrecognized arguments" with exit code 2 #222

Open torsknod-the-caridian opened 4 months ago

torsknod-the-caridian commented 4 months ago

Whitespace in "conanFile" causes "conan build: error: unrecognized arguments" with exit code 2.

The reason is that the commands are given as a string to spawn and having shell set to true instead of passing an array of strings as arguments.