Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: nirajhi147 on November 08, 2012, 06:17:02 am

Title: how to remove tagline in code block compilation
Post by: nirajhi147 on November 08, 2012, 06:17:02 am
I get process returned 0 (0x0) execution time:1.22s
press any key to continue..
after running my program at end..is there any way to remove it. thank u :)
Title: Re: how to remove tagline in code block compilation
Post by: oBFusCATed on November 08, 2012, 08:18:21 am
What version are you using?
There is an option in Project -> Properties -> Build targets -> Pause when execution ends.
If you uncheck it should not require a keypress.

But currently in the svn head this option seems to do nothing (at least on linux), does it work for anyone?
Title: Re: how to remove tagline in code block compilation
Post by: Jenna on November 08, 2012, 10:36:17 am
What version are you using?
There is an option in Project -> Properties -> Build targets -> Pause when execution ends.
If you uncheck it should not require a keypress.

But currently in the svn head this option seems to do nothing (at least on linux), does it work for anyone?
Works as expected, but in "Project -> Set programs arguments" there is another option (in newer revision) "Run host in terminal".
If this option is checked, you get the same behaviour as with a console-project and "pause when ..." set.
Title: Re: how to remove tagline in code block compilation
Post by: oBFusCATed on November 09, 2012, 12:03:00 am
But currently in the svn head this option seems to do nothing (at least on linux), does it work for anyone?
By doesn't work here I mean that the settings is not respected and if I uncheck (if I don't want to have a pause) it I still get the "Pause bla bla".
Jens: Is it different for you?
Title: Re: how to remove tagline in code block compilation
Post by: Jenna on November 09, 2012, 12:11:53 am
But currently in the svn head this option seems to do nothing (at least on linux), does it work for anyone?
By doesn't work here I mean that the settings is not respected and if I uncheck (if I don't want to have a pause) it I still get the "Pause bla bla".
Jens: Is it different for you?
The current implementation forces you to uncheck it in the projetcs properties and in "Set programs arguments",
Title: Re: how to remove tagline in code block compilation
Post by: oBFusCATed on November 09, 2012, 12:19:36 am
The current implementation forces you to uncheck it in the projetcs properties and in "Set programs arguments",
Unchecked in both places and I'm still prompted to press a key. But this is definitely wrong if you are correct in your statement.