Author Topic: redirect console output  (Read 3985 times)

stefano913

  • Guest
redirect console output
« on: November 05, 2012, 12:43:07 pm »
Hi folks

I'm looking for a simple way to get rid of the pop-up console and rather have all the output printed in the log section. I thought of redirecting the stderr/out to the log as they suggested here (http://forums.codeblocks.org/index.php?topic=13175.0) but I haven't quite managed.

My attempt is:
Tool->Configure tools->Add
Name: console
Executable: ${TARGET_OUTPUT_BASENAME}
Working Directory: ${TARGET_OUTPUT_DIR}
(PArameters left blank)
Launch tool hidden with standard output redirected

The problem is that the console still pops up and my custom tool doesn't seem to be called.

Any help would be very appreciated