Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: buchs on November 11, 2007, 11:45:50 am

Title: [Resolved] cb_console_runner error
Post by: buchs on November 11, 2007, 11:45:50 am
Hello every build !

This morning I've tried to make a new QT4 project. All works fine but when I try to launch the application.

I've got this error :
Quote
Checking for existence: /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ
Executing: gnome-terminal -t ModifFAQ -e /opt/CodeBlocks/bin/cb_console_runner /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ  (in /home/arnaud/Developpez/Projets/ModifFAQ/.)
Process terminated with status 1 (0 minutes, 0 seconds)

But the file /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ exists. I don't know how to resolve this.

Thank you ;)

[edit] I've forgotten, when I try to launch it from the console directly, I got this message :
Quote
$ gnome-terminal -t ModifFAQ -e /opt/CodeBlocks/bin/cb_console_runner /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ
Argument non valide : « /home/arnaud/Developpez/Projets/ModifFAQ/bin/Debug/ModifFAQ »
Title: Re: cb_console_runner error
Post by: buchs on November 11, 2007, 11:51:00 am
I found the mistake   :)

If you want use gnome-terminal instead of xterm, you can't use -e option but -x   :x

Thanks to me  :P

See you later ;)
Title: Re: [Resolved] cb_console_runner error
Post by: sipickles on November 17, 2007, 08:03:20 pm
To others,

you also need to change -T to -t, so:

gnome-terminal -t $TITLE -x

hth