franneck94 / Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀
MIT License
53 stars 14 forks source link

[BUG] Can't build if path to folder has '&' in name #121

Closed krysclarke closed 1 year ago

krysclarke commented 1 year ago

As per the error in the screenshot attached.

VSCodium cant build cpp

My workaround has been to relocate the project folder to a part of the directory tree with a folder name that doesn't contain a '&'.

franneck94 commented 1 year ago

As an Info: In unix shell '&' likewise as ' ' are special characters and should be avoided if possible.

franneck94 commented 1 year ago

Note: This also fails with MSVC

franneck94 commented 1 year ago

Note: Have not found a solution that works on all OS and compiler combinations.

franneck94 commented 1 year ago

I will add this as a note in the README and will close this issue. Just dont use whitespaces and special characters in filenames :)