User forums > Using Code::Blocks

How to remove the pause

(1/2) > >>

Leo.J90:
how can i remove the pause that CB makes by default on a console program?
and also the 'process return and execution time'?

thanx

Seronis:
CB doesnt build that into the executable.  It runs your executable thru a helper app that does the pause and message for informational purposes.  You'll notice if you navigate to your programs directory and run it manually thru the OS console window that neither the pause nor other msg is there.

MortenMacFly:

--- Quote from: Leo-J90 on September 08, 2009, 03:36:57 pm ---how can i remove the pause that CB makes by default on a console program?

--- End quote ---
Simply setup the application type to "GUI" in the project setup.

Jenna:

--- Quote from: Leo-J90 on September 08, 2009, 03:36:57 pm ---how can i remove the pause that CB makes by default on a console program?
and also the 'process return and execution time'?

thanx

--- End quote ---

Activate your project, if it is not and then uncheck "Project -> Properties... -> Build targets -> [the target you use] -> Pause when execution ends"

MortenMacFly:

--- Quote from: jens on September 08, 2009, 03:47:39 pm ---Activate your project, if it is not and then uncheck "Project -> Properties... -> Build targets -> [the target you use] -> Pause when execution ends"

--- End quote ---
...even better. :lol: :lol: :lol:

Navigation

[0] Message Index

[#] Next page

Go to full version