[Geany-Users] Windows 10, running ubuntu bash commands as a build option
mbrush at xxxxx
Sat Aug 13 20:58:15 UTC 2016
On 2016-08-13 01:27 PM, bill punch wrote:
> You probably know that you can now run a bash command line from Windows
> 10, and even more interestingly you can download all the ubuntu tools
> (14.04) such as g++.
> You can also run these commands from a regular windows cmd.exe if you do
> the following:
> bash -c "g++ --version" for example, gives the version number.
> However, if I do the same as a build option (say, the compile option) I
> get "Process failed(The system cannot find the file specified)". Even if
> I use the absolute path, the Compiler line says
> C:\Windows\System32\bash.exe -c "g++ --version" (in directory:
> with the same error message. PATH does have bash in it, it all works
> fine in cmd, just not here as an option.
> Any ideas?
> For those that want to ask why the question, I'm trying to help students
> in a large C++ class. Some use windows.
What version of Geany?
You might try single or no quotes instead of double quotes around the
bash -c argument.
More information about the Users