- 
                Notifications
    You must be signed in to change notification settings 
- Fork 6.3k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
code-server version: 0.2 alpha
OS Version: Mac 10.14.3
Description
When I'd installed the extensions C/C++ and Code Runner, and ran the C++ code with Code Runner, an error /bin/sh 1:g++: not found was raised. However, when I copied the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core to the terminal and ran it, it worked.
Steps to Reproduce
- Install the Extensions C/C++ v0.21.0 and Code Runner v0.9.7
- New Project and create a simple cpp file with a main function
- Click the >button provided by the Code Runner
- An error shown in the output-codewindow as follows:
[Running] cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"core
/bin/sh: 1: g++: not found
[Done] exited with code=127 in 0.044 seconds
- Copy the command cd "/projects/cppTest/" && g++ core.cpp -o core && "/projects/cppTest/"coreto theterminalwindow and run it, and everything is OK
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working