Codelite seems to be appending sending the build commands to the COMSPEC interpreter with the assumption that it is cmd.exe and will run the command with the "/c" flag.
I have my COMSPEC set to bash, which interprets the "/c" as a file path and errs out on a path error.
Is there a way to change the flag used to send the commands to the shell?
Using an Alternative COMSPEC
-
- CodeLite Curious
- Posts: 1
- Joined: Thu Oct 10, 2013 5:41 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Using an Alternative COMSPEC
so far you are correct.jma wrote:Codelite seems to be appending sending the build commands to the COMSPEC interpreter with the assumption that it is cmd.exe and will run the command with the "/c" flag.
No.jma wrote:Is there a way to change the flag used to send the commands to the shell?
I suggest that you set your COMSPEC within codeilte to cmd.exe (it wont affect your system)
From the main menu: Settings -> Environment variables
Add this (unless your cmd.exe is placed somewhere else):
Code: Select all
COMSPEC=C:\Windows\system32\cmd.exe
Make sure you have read the HOW TO POST thread