How to hide "time elapsed" in console applications?

General questions regarding the usage of CodeLite
notgay
CodeLite Curious
Posts: 2
Joined: Sun Jun 24, 2018 1:11 am
Genuine User: Yes
IDE Question: C++
Contact:

How to hide "time elapsed" in console applications?

Post by notgay »

Everytime I run a console application, it shows me the time elapsed. I have searched everywhere for the option to hide it but to no avail. Is there an option to hide it?
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to hide "time elapsed" in console applications?

Post by eranif »

Assuming you are using Windows, you cant.
CodeLite uses a wrapper executable to enable the "pause-when-execution-ends" feature.
You can disable this, but then your console will be "gone" when the execution ends (so incase you print something to the console, you wont be able to read it

To disable this feature, project settings->pause when execution ends
Make sure you have read the HOW TO POST thread
notgay
CodeLite Curious
Posts: 2
Joined: Sun Jun 24, 2018 1:11 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to hide "time elapsed" in console applications?

Post by notgay »

eranif wrote:Assuming you are using Windows, you cant.
CodeLite uses a wrapper executable to enable the "pause-when-execution-ends" feature.
You can disable this, but then your console will be "gone" when the execution ends (so incase you print something to the console, you wont be able to read it

To disable this feature, project settings->pause when execution ends
Thank you man, it works :D
Post Reply