atom-community / atom-community/atom-script
Issues with excuting c++ files contained in directories with white space in directory name.
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description

I am having issues while compiling and executing C++ files.
I know the issue - C++ file is stored in a folder which has spaces.
Solution - include the file path in quotes.
But How do I modify the plugin parameter so that it includes full path with quotes and successfully compiles and executes the file ?
The error -
`g++: error: /mnt/c/Users/HP/github/CodersPack/C++: No such file or directory
g++: error: programs/task8.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.
[Finished in 0.416s]`
Contributor guide
Research direction
Reproduce the failure with the C++ file at /mnt/c/Users/HP/github/CodersPack/C++ programs/task8.cpp and inspect the atom-script plugin parameter handling for the generated compiler command. Use the reported g++ error as the baseline; done means the same file compiles and executes successfully when its directory path contains spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100