Hi,
I can't succeed in executing a script using the "Tools" menu.
In the "Settings -> Environment -> General settings" dialog, I have set :
- Shell to run command in : "/bin/bash -c"
- Terminal to launch console programs : "konsole"
In the "Tools" menu, I have added this tool :
- Name : "Build"
- Executable : "konsole"
- Parameters : "--noclose --workdir ${PROJECT_DIR} -e build.sh"
- Working directory : <none>
- Launching options : "Launch tool visible detached (without output redirection)"
But when I launch the tool, I get this message :
Warning: Could not find 'build.sh', starting '/bin/bash' instead. Please check your profile settings.
folco@Weygand:/mnt/Data/Programmation/TI/Perso/pdt/pdtlib/src$
"build.sh" is not found !
folco@Weygand:/mnt/Data/Programmation/TI/Perso/pdt/pdtlib/src$ ls build.sh
build.sh
folco@Weygand:/mnt/Data/Programmation/TI/Perso/pdt/pdtlib/src$
Why is it not found ? Where am I wrong ?
The log of Code::Blocks says that :
Launching tool 'Build': konsole --noclose --workdir /mnt/Data/Programmation/TI/Perso/pdt/pdtlib/src/ -e build.sh
(in /mnt/Data/Programmation/TI/Perso/pdt/pdtlib/src)
This seems right ?
How to get build.sh to be executed (the file is executable of course, it runs fine from a terminal) ?
I use C::B svn 6714 (the current one today) with Kubuntu 10.10 64 bits, compiled by myself.